This is a migrated thread and some comments may be shown as answers.

LoadLayout - How to overwrite a user's preference?

1 Answer 18 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 04 Nov 2011, 01:37 PM
Hello,

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...

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 08 Nov 2011, 09:54 AM
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 >>

Tags
Docking
Asked by
Rob
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or