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

[Solved] Restoring Radgrid Selected Indexes

2 Answers 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
pavan pemmaraju
Top achievements
Rank 1
pavan pemmaraju asked on 21 Oct 2009, 05:27 PM
Hi,

I have a multilevel radgrid in my web page. When a user drills in and clicks on a button inside the radgrid, he is taken to a different page, where he can see further details and make changes. On this page, I have a back button, enabling the user to go back to the page with the original grid. I want to restore the radgrid to the state it was in when the button was clicked so the user knows what items he already visited. How do I do this ?

I see I can get the selectedindexes as a gridindexcollection but how do I apply this gridindexcollection to the radgrid when the page is revisited?

Thanks,
Pavan.

2 Answers, 1 is accepted

Sort by
0
pavan pemmaraju
Top achievements
Rank 1
answered on 23 Oct 2009, 02:56 PM
Telerik,

I thought there was an easy way of doing this. Please help

Thanks,
Pavan.
0
Schlurk
Top achievements
Rank 2
answered on 23 Oct 2009, 10:03 PM
This documentation article goes over how to persist an item through a postback. Although this is using ViewState the same principles should be able to be applied with using Session state as well.
Tags
Grid
Asked by
pavan pemmaraju
Top achievements
Rank 1
Answers by
pavan pemmaraju
Top achievements
Rank 1
Schlurk
Top achievements
Rank 2
Share this question
or