I know how to capture the page and the sort header and direction in session variables. I do not know how to apply these to the grid. Can someone show me how to set grid sort/direction and page when the page is not post back (I will test to see if session variables are not null)
Thanks
1 Answer, 1 is accepted
0
Sebastian
Telerik team
answered on 13 Apr 2009, 01:57 PM
Hello Zed,
To set default sort expression/sort order or page index for the grid, consider applying sort expression either declaratively or programmatically and set the CurrentPageIndex property of the control.
In case you would like to save the grid settings on a per user basis, consider the solutions presented in this documentation topic (see the code library project linked at the bottom of it as well).
Best regards,
Sebastian
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.