Persist page using ContentUrl

2 posts, 0 answers
  1. Esteban
    Esteban avatar
    1 posts
    Member since:
    Jul 2016

    Posted 26 Jul Link to this post


    Im using a TabStrip+RadMultiPage with ContentUrl to load local pages. When the page is loaded the first time it has no tabs and the user can create them dynamically using some kind of radtreeview/sitedataitem. Each time I add a new tab/pageview, tabs/pages loaded before lose its content and they are reloaded.

    Once they're created, it works good and can navigate from tab to tab without problems until I add other tab.

    I've read this Post which explained the same issue in 2012:

    Is there any solution or alternative to this problem?

    My English is not very good sorry.

    Thanks in advance

  2. Peter Milchev
    Peter Milchev avatar
    112 posts

    Posted 29 Jul Link to this post


    As stated in the last reply in the forum thread you provided "Since you use the ContentUrl property to assign a certain PageView, you could not persist the state of any control inside that PageView. Each time a Tab is rendered, new GET request is performed because of the ContentUrl property, thus you could not persist the state of the previously filled data.". That means on every postback the tabs with ContentUrl are reloaded.

    Peter Milchev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top