This is a migrated thread and some comments may be shown as answers.

[Solved] Dynamically change the RadGrid Page Size

1 Answer 239 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 23 Apr 2009, 08:50 AM
Hi,

I have many pages using RadGrid and default page size is 10 and setup design time.

Now i have a new requirement to set the page size dynamically. so i need to set the RadGrid.PageSize in every single page load.

Is there a way to setup at one place to change all the RadGrid's page size?

Thanks,
Alex

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 23 Apr 2009, 09:47 AM
Hi Alex,

One suggestion would be to store the required PageSize in a session variable so that you can easily reset the Pagesize of the grid in every pageload (in Pageload event).

Thanks,
Shinu.
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or