R
Rob
Hey yall.
I have a datagrid returning over 13K records, so obvious to do paging
right?
well I also have template/button columns in the grid so originally, I
was having the problem of the item command event firing before paging
and paging was not working at all,
To fix that, I added If e.Item.ItemIndex > -1 Then itemcommand code...
to my item event sub and now paging works.. well sort of,
Now after the first click of next page, the paging stops working, when
I click on Next it refreshes but does not refresh the data to the next
set it stays the same , I have simple code in the PageIndexChanged
event.. Me.dataGrid.CurrentPageIndex = e.NewPageIndex
dataGrid.DataBind()
any advice as always appreciated.
I have a datagrid returning over 13K records, so obvious to do paging
right?
well I also have template/button columns in the grid so originally, I
was having the problem of the item command event firing before paging
and paging was not working at all,
To fix that, I added If e.Item.ItemIndex > -1 Then itemcommand code...
to my item event sub and now paging works.. well sort of,
Now after the first click of next page, the paging stops working, when
I click on Next it refreshes but does not refresh the data to the next
set it stays the same , I have simple code in the PageIndexChanged
event.. Me.dataGrid.CurrentPageIndex = e.NewPageIndex
dataGrid.DataBind()
any advice as always appreciated.