Preserving the filter selections on back button

2 posts, 0 answers
  1. Chris
    Chris avatar
    15 posts
    Member since:
    Oct 2010

    Posted 02 May 2012 Link to this post

    Hello,

    I have a page that has a filter control on it. The filter controls a Radgrid that has button links on it to show more details of the filtered rows. When users click the back button on the browser to return to the page with the filter, the filter is showed again on its initial state, this is, it does not preserve the last search/filtered options selected. Is there a way that I can preserve this without having to force my users to not to use the back button?

    Thanks!
  2. Tsvetina
    Admin
    Tsvetina avatar
    1873 posts

    Posted 07 May 2012 Link to this post

    Hi Chris,

    This is expected behavior if you are using AJAX in this scenario. Review this post for instructions on how to manage the browser history points at these addresses:
    http://msdn.microsoft.com/en-us/library/cc488548.aspx
    http://weblogs.asp.net/haroonwaheed/archive/2008/07/26/Maintain-Browser-History-with-AJAX.aspx

    Greetings,
    Tsvetina
    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
Back to Top