RadFilter loadsetting on pageload

6 posts, 0 answers
  1. Y
    Y avatar
    17 posts
    Member since:
    Sep 2011

    Posted 08 Nov 2011 Link to this post

    Hi telerik,
       
         I use a radfilter for filter the RadGrid. Now I save the value of radfilter SaveSettings function.I need load the setting when pageload.
         any idea? thanks!

  2. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 11 Nov 2011 Link to this post

    Hello Y,

    Please examine the Save/Load RadFilter expressions demo to see how the desired functionality can be implemented.

    I hope this helps.

    Greetings,
    Mira
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Y
    Y avatar
    17 posts
    Member since:
    Sep 2011

    Posted 13 Nov 2011 Link to this post

    Dear Mira 
         Thanks your reply.
         But I bind the data to grid on back code.  I have save the setting string in database , I want when open the page can load the setting,and I bind the data to grid on Behind code. So this method doesn't work.
         Any idea? Thanks!
  5. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 15 Nov 2011 Link to this post

    Hello Y,

    I have followed your scenario and prepared a sample project for you demonstrating how the desired functionality can be implemented. You can find it attached to this message.

    I hope it helps.

    Best wishes,
    Mira
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  6. Y
    Y avatar
    17 posts
    Member since:
    Sep 2011

    Posted 16 Nov 2011 Link to this post

    Dear  Mira,

          Thank you very much for your follow up.But my problem still unresolved. 
          I use your demo,I know it's no problem when in one page to save and load setting.But it will be error when open another page to load setting(don't close IE, so the session is have setting data). 
           Must be my explained is unclear . So I upload a screenshots to illustrate.

  7. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 18 Nov 2011 Link to this post

    Hello Y,

    If you want the filter settings to be available each time the user visits the site, I suggest that you use a cookie.
    Please examine the following articles for additional information:
    ASP.NET Cookies Overview
    ASP.NET State Management Recommendations

    I hope this helps.

    All the best,
    Mira
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017