Changing PagingSize Dynamically

1 reply. Last post: May 21, 2010 2:19 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Brad LoveallMember

I have a question about changing the grid's paging size dynamically. Our users want to be able to customize the page size of the grid via a dropdownlist. I'd like to do a SendCustomRequest() and handle the request in InitializePostBack. Two things that I'm not sure how to do, however, are: (i) passing arguments via the customrequest and (ii), refreshing the grid so that the change takes effect and the rows are updated. In this case, I'd like to pass the value of the user's selection which comes from a dropdownlist. When I make the change to the PagingSize in the InitializePostBack event, it isn't reflected in the grid. The pagesize remains. What is the recommended solution?

Thanks

Brad

All times are GMT -5. The time now is 11:30 PM.
Previous Next