K
Kevin Lawrence
Hi all
Got a GridView, I've enabled paging, I have 12 objects in an array with only
10 to display on each page, when I DataBind() for the first time it says
there are 2 pages, however when I click to go the 2nd page it just displays
the 1st page, unless I click it again, here is my event handler code - I'm
sure there's something missing:
protected void grdSubmittedCCDEV_PageIndexChanging(object sender, GridViewPageEventArgs
e)
{
grdSubmittedCCDEV.PageIndex = e.NewPageIndex;
}
Any ideas?
Thanks
Kev
Got a GridView, I've enabled paging, I have 12 objects in an array with only
10 to display on each page, when I DataBind() for the first time it says
there are 2 pages, however when I click to go the 2nd page it just displays
the 1st page, unless I click it again, here is my event handler code - I'm
sure there's something missing:
protected void grdSubmittedCCDEV_PageIndexChanging(object sender, GridViewPageEventArgs
e)
{
grdSubmittedCCDEV.PageIndex = e.NewPageIndex;
}
Any ideas?
Thanks
Kev