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

RadPane.IsSaved

1 Answer 22 Views
Docking
This is a migrated thread and some comments may be shown as answers.
RoadWarrior
Top achievements
Rank 1
RoadWarrior asked on 04 Apr 2010, 12:00 PM
There is a need to better control the persistence of a RadPanes.  In certain scenarios, some RadPanes should not be persisted during the SaveLayout process.  I would like to request the addition of a new property on the RadPane to allow developers  to set a boolean which will determine whether the Pane should be persisted during the SaveLayout:  (e.g.RadPane.IsSaved)

As a workaround, I've resorted to stripping out unwanted RadPanes as a result of the RadDocking.ElementLoaded event.  Unfortunately, this involves a hack, and not an acceptable long term solution.

An alternative fix is to add the ability to cancel the loading of an element from the RadDocking.ElementLoading event.  Unfortunately, the ElementLoading event is currently broken and provides no reference to the element being loaded.

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 06 Apr 2010, 12:18 PM
Hello Rick,

 Thank you for your suggestion! This feature helpful. I logged the request in PITS and if there is enough demand we will consider implementing it. The title of the item is "Enable a way to exclude elements from the save/load layout process of the Docking control.".

About the ElementLoading event - as I already said (in another thread) it is designed to act this way - we cannot provide a reference to an element that is not created yet. This event is very good place to cancel loading the element so we will consider providing Cancel property of the event arguments.

Regards,
Miroslav Nedyalkov
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.
Tags
Docking
Asked by
RoadWarrior
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or