asp.net - Accessing gridview from infile javascript aspx.net, paging issue -
so here's situation:
i've got grid:
<asp:gridview id="productgrid" runat="server" allowsorting="true" allowpaging="true" pagesize="20" onpageindexchanging="pageindexchanged" pagersettings-visible="false" autogeneratecolumns="false" onsorting="sort">
and i'm accessing this:
var grid = document.getelementbyid("<%= productgrid.clientid %>");
which works, that's fine, problem is, when go grid.row.length
, 21, grid bound several hundred elements, problem it's looking @ first page, how @ rest of data?
i want iterate through whole table. yes i'm sure table has been loaded values before javascript executed, values on page load , script on button click.
thanks help
Comments
Post a Comment