Navigation Framework and NavigationCacheMode

2 posts, 1 answers
  1. Paul Lewis
    Paul Lewis avatar
    31 posts
    Member since:
    Jan 2010

    Posted 13 Jun 2011 Link to this post


    I am using the navigation frmawork for SL4 and i have the NavigationCacheMode set to enabled on my pages this works fine with all my silverlight controls as they maintain their state but the htmlplaceholder reloads its page each time the page is selected instead of just keeping what was there last time.  is there a way to prevent it reloading and just use the page as it was when the user naviagted away?
  2. Answer
    Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 16 Jun 2011 Link to this post

    Hello Paul Lewis,

    You can try to use the KeepContentInMemory property of the RadHtmlPlaceholder set to true. Here you can find basic sample that works fine:
    <telerik:RadTabControl x:Name="m_tabHtmlText"
        <telerik:RadTabItem Header="HTML" >
                <StackPanel x:Name="m_placeholderPanel">
                    <telerik:RadHtmlPlaceholder x:Name="m_placeholderHTML"
        <telerik:RadTabItem Header="Text">
                <TextBox x:Name="text"
                         VerticalScrollBarVisibility="Auto" />
    Please let us know if this helped you.

    Kind regards,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top