Hi,
I have a checkbox column in a grid with a delete button located in a commanditemtemplate.
When the delete button is pressed, an ajax request is made and a serverside method is executed removing the each row where the checkbox is checked.
Finally I rebind the grid and this in turn calls the NeedDataSource event of the grid which loads my data (minus the rows I deleted).
So far so good, The rows I selected to delete are now gone from the grid, the only problem is the pager still shows the original record count (and if rows remaining are less than my pagesize, the wrong page number too)
Am I missing something here or is this a bug?
Thanks in advance
Mac.
I have a checkbox column in a grid with a delete button located in a commanditemtemplate.
When the delete button is pressed, an ajax request is made and a serverside method is executed removing the each row where the checkbox is checked.
Finally I rebind the grid and this in turn calls the NeedDataSource event of the grid which loads my data (minus the rows I deleted).
So far so good, The rows I selected to delete are now gone from the grid, the only problem is the pager still shows the original record count (and if rows remaining are less than my pagesize, the wrong page number too)
Am I missing something here or is this a bug?
Thanks in advance
Mac.