K
Kalvin
I am using the datagrid. I have allowpaging=true. I load the data and
there is about 7000 records. At the bottom there is pages 1 through 10
and (...). The first time I click on (...) it takes me to pages 11
through 20. If I choose 12 it takes me to page 2. If I choose (...)
it goes to pages 1 through 10 again. In the pageindexChanged event, if
I explicitly set the .CurrentPageindex to a value it works fine. Am I
missing a step here? Please help.
Kalvin
/* BEGIN CODE */
Private Sub uiReports_PageIndexChanged(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles
uiReports.PageIndexChanged
uiReports.CurrentPageIndex = e.NewPageIndex
uiReports.DataBind()
End Sub
*/
there is about 7000 records. At the bottom there is pages 1 through 10
and (...). The first time I click on (...) it takes me to pages 11
through 20. If I choose 12 it takes me to page 2. If I choose (...)
it goes to pages 1 through 10 again. In the pageindexChanged event, if
I explicitly set the .CurrentPageindex to a value it works fine. Am I
missing a step here? Please help.
Kalvin
/* BEGIN CODE */
Private Sub uiReports_PageIndexChanged(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles
uiReports.PageIndexChanged
uiReports.CurrentPageIndex = e.NewPageIndex
uiReports.DataBind()
End Sub
*/