Help!
I have a datagrid which displays records by using a sql stored procedure and has paging on it.
I have the OnPageIndexChanged="setpage" which fires the procedure to change the page the datagrid displays but its not working. I know the function is runnng as it displays the page number to the screen for testing, but it does not seem to be altering the datagrid currentpage
Sub setpage (ByVal src As Object, ByVal e As DataGridPageChangedEventArgs)
DataGrid1.CurrentPageIndex = e.newpageindex
BindGrid()
end sub
Do i have to some how tell the datagrid to change page other than the above function.
Many thanks, this is driving me crazy.
I have a datagrid which displays records by using a sql stored procedure and has paging on it.
I have the OnPageIndexChanged="setpage" which fires the procedure to change the page the datagrid displays but its not working. I know the function is runnng as it displays the page number to the screen for testing, but it does not seem to be altering the datagrid currentpage
Sub setpage (ByVal src As Object, ByVal e As DataGridPageChangedEventArgs)
DataGrid1.CurrentPageIndex = e.newpageindex
BindGrid()
end sub
Do i have to some how tell the datagrid to change page other than the above function.
Many thanks, this is driving me crazy.