Grid persist selection in nonpersistence mode

4 posts, 0 answers
  1. Vijayaraj
    Vijayaraj avatar
    25 posts
    Member since:
    Mar 2011

    Posted 29 Aug 2011 Link to this post

    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
  2. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 01 Sep 2011 Link to this post

    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 >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vijayaraj
    Vijayaraj avatar
    25 posts
    Member since:
    Mar 2011

    Posted 14 Sep 2011 Link to this post

    Thanks Veli, but where do i find the test page?

    Regards,
    Vijay
  5. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 15 Sep 2011 Link to this post

    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
Back to Top