So I have a grid with 10 pages. I am on page 5. I refresh the grid because my actions might have caused a number of rows to disappear. When I get the data and rebind, how do I go the the last page I had selected? I want the grid to be on page 5 after the refreshing of the data.
Ah... Not as easy as it first looks. I looked at a couple of other post and can get the current page number. I do it with a hidden control on the client. Now I need to set the page index. I tried on a test button on the form that sets the DataSource and I call DataBind(). I then try to set the pagIndex
.Behaviors.Paging.PageIndex
this nas no effect. Where should I do this?
this.WebDataGridView.Behaviors.Paging.PageIndex I think this has what I am looking for.
this.WebDataGridView.Behaviors.Paging.PageIndex
I think this has what I am looking for.