Thank you for contacting us.
It seems that you have created a custom RadSplitContainer and RadPane (the RadMainSplitContainerExt
) that have been saved to the layout xml. The Docking control cannot load those custom Pane and SplitContainer correctly as it has no information about them when loading from the xml. In order for the LoadLayout functionality to understand those custom controls correctly you will need to set them in the ElementLoading
event of the control by setting the AffectedElement to the correct type. The next code snippet shows how to set the correct type in that event (as we not aware of the your entire project we consider that the two custom controls are of type RadMainSplitContainerExt and RadPaneExt):
and in the code behind:
sender, LayoutSerializationLoadingEventArgs e)
If you have any other questions feel free to write to us again.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>