LoadLayout - How to overwrite a user's preference?

2 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 04 Nov 2011 Link to this post


    We have been using the docking control for several iterations of our product and user's have been able to store their preferences.  In our most recent version, we have made a change to one of our RadPanes by setting "CanUserPin" to false where it was previously true... 

    Unfortunately, the user's preferences are loaded and overwrite this value...  Is there a way to version the preferences somehow?  Or to ensure that our changes are pushed out to the users?  For now, I'm just going to set the value after the layout is loaded but for future reference it would be nice if there was a way to force the preferences to take the changes...
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 08 Nov 2011 Link to this post

    Hello Rob,

    There is no out-of-the-box way to implement this, but you could override the value the property by handling the ElementLoaded event of the RadDocking control and set the new value there if the loaded pane is the one you changed.

    Hope this helps.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

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

Back to Top