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

Grid persist selection in nonpersistence mode

3 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vijayaraj
Top achievements
Rank 1
Vijayaraj asked on 29 Aug 2011, 05:05 AM
Hi,

I tried to make the code in the following to work, but it  doesnt work  for  me. 
http://www.telerik.com/help/aspnet-ajax/grid-persist-selection-in-nopersistence-mode.html

The item is always null. Could you please help me with a sample demo application?

Thanks in advance for your support.

Regards,
Vijay

3 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 01 Sep 2011, 09:38 AM
Hello Vijayaraj,

It seems this particular approach does not work any more with latest versions of RadGrid. We want to apologize for the omission to update the help topic to show a working approach. We will do that on first available occasion. As a token of gratitude for letting us know and contributing to the improvement of our products, I have updated your Telerik points with additional 500.

Currently, there is no server-side-only approach for persisting client-side selection with disabled ViewState. You need to collect the selected indexes from the client and persist them in a hidden field. For your reference, I have prepared a test page. It demonstrates how the grid selected indexes are collected and saved in an external hidden field. Back on the server, the hidden field value is parsed and the selection is restored to the respective items. Let me know how this works for you.

Best wishes,
Veli
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Vijayaraj
Top achievements
Rank 1
answered on 14 Sep 2011, 07:33 PM
Thanks Veli, but where do i find the test page?

Regards,
Vijay
0
Veli
Telerik team
answered on 15 Sep 2011, 03:16 PM
Please excuse me, I have forgotten to actually attach the test page. Here it is now.

Greetings,
Veli
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Grid
Asked by
Vijayaraj
Top achievements
Rank 1
Answers by
Veli
Telerik team
Vijayaraj
Top achievements
Rank 1
Share this question
or