Having the GridView client control ID, I would like to get some ideas on how to count the GridView rows or at least be able to tell if there is at least one row on the Gridview the restriction is that I can only use client side code (JavaScript in this case)
var rowscount = document.getElementByID('<%=Gridview1.ClientID%>').rows.length;
alert(rowscount);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With