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

Paging and ViewState issue

1 Answer 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Effat
Top achievements
Rank 1
Effat asked on 06 Feb 2012, 01:13 PM
Hello,

I have a RadGrid that I'm binding dynamically with different data table based on the choice customer makes but when I "enable" the ViewStateMode of the RadGrid to maintain the filter value, paging messes up.

If I am on page 3 of RadGrid with DataTable "A" then when the datasource of RadGrid is changed to Data Table "B" it shows page 3 instead of page 1. Also, the forward buttons of the pager changes the page but numeric button 2 stays highlighted even if I have clicked 7 times..

Please help!

Best Regards,
Effat

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 07 Feb 2012, 04:16 PM
Hello Effat,

Could you paste your complete aspx and code-behind. Please, use the code formatter tool of the ticket editor.

Regards, Tsvetoslav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Grid
Asked by
Effat
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or