Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > controls gets re initialted when switching between pan

Not answered controls gets re initialted when switching between pan

Feed from this thread
  • Shenbagaraj avatar

    Posted on Jan 20, 2012 (permalink)

    Im using RadpaneGroup .. When im swithching between the pan , the  user controls inside is gets re initiated and all the controls gets refreshed whenever  switch between pan..  how to avoid this ..  is there any property available to control  or any other way to avoid this.

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jan 21, 2012 (permalink)

    Hello,

    You can set the IsContentPreserved property of the PaneGroup in order to stop re-loading of the content of the RadPane.

    All the best,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Shenbagaraj avatar

    Posted on Jan 23, 2012 (permalink)

    When i use IsContentPreserved  the values of combobox and for other contrls is binding from context..   how to control, controls getting reloaded..

    <

    telerik:RadPaneGroup Name="RadPaneGroupMain" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TabStripPlacement="Top" TabNavigation="Local" TabOrientation="Horizontal" Style="{StaticResource JobRequestContainerRadPaneGroupStyle}" local:PaneGroupExtensions.ItemsSource="{Binding InnerPanes}" local:PaneGroupExtensions.ItemTitleDisplayMemberPath="Header" IsContentPreserved="True">

     

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jan 26, 2012 (permalink)

    Hi,

    The IsContentPreserved works only when you switch between the panes in a PaneGroup. If you drag out a pane, then the property is not working.

    Regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Ryan avatar

    Posted on Jan 30, 2012 (permalink)

    Hello,
    I am having the same issue with version 2011.3.1220.1040.
    After switching panes inside the same PaneGroup with IsContentPreserved set to true, my user controls still unload.
    This causes a 1.5 second delay from when the user clicks the tab, to when the tab is actually switched and rendered.

    Thanks,
    Ryan

    Reply

  • Ryan avatar

    Posted on Jan 31, 2012 (permalink)

    Can Telerik reproduce this?
    Thanks,
    Ryan

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Feb 1, 2012 (permalink)

    Hi Ryan,

    I tried to reproduce the issue, but to no avail. Could you please send us your project simplified, so that we can run it here locally and debug it. In that way we will be able to track down the source of the issue and provide you with solution.

    Looking forward to your reply.

    Kind regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Ryan avatar

    Posted on Feb 1, 2012 (permalink)

    Hi Konstantina,
    I have sumbitted a support ticket with the repro attached.

    It seems the issue is directly related to using the LoadLayout Method with the IsContentPreserved property.
    They don't seem to play well together.

    Let me know what you think,
    Ryan

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > controls gets re initialted when switching between pan
Related resources for "controls gets re initialted when switching between pan"

Silverlight Docking Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]