asp.net - PageIndexChanging in gridview wont fire -
i downloaded free template internet , using in project of asp.net. have gridview , using paging because of template pageindexchanging event wont fire. there alternate because data in gridview large , gridview getting long , out of template. please assist. if can please let me know if event can fire on button click. urgent please.... thnx in advance..
my .cs code is:
protected void gridview1_pageindexchanging(object sender, gridviewpageeventargs e) { gridview1.pageindex = e.newpageindex; emp(); }
try this.......
protected void gridview1_pageindexchanging(object sender, gridviewpageeventargs e) { gridview1.pageindex= e.newpageindex; emp(); }
set property in aspx file........
allowpaging = true pageindexchanged = gridview1_pageindexchanged
Comments
Post a Comment