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

SaveLayout with RadPaneGroupRegionAdapter

4 Answers 69 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Arnstein
Top achievements
Rank 1
Arnstein asked on 25 Nov 2010, 10:02 AM
Hi,
I'm playing around with Miroslavs RadDocking example:
http://blogs.telerik.com/blogs/posts/09-08-31/using_the_raddocking_control_with_prism.aspx

When items are added to a RadPaneGroup by using Prism and the RadPaneGroupRegionAdapter they are not added as the base type RadPane. This is only a problem when I'm trying to serialize the Docking panels. SaveLayout() will produce this xml:

<RadDocking><SplitContainers><RadSplitContainer><Items><RadPaneGroup>
<Items><Pane1 Title=\"PaneAdded\"</Items></RadPaneGroup></Items>
</RadSplitContainer></SplitContainers></RadDocking>
(Removed some attributes)

As you can see there's an element called Pane1 which should be a RadPane in order for the LoadLayout() to parse the xml without throwning an ArgumentOutOfRangeException.

What would be the best way to get this working?

Regards
Arnstein

4 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 29 Nov 2010, 12:52 PM
Hello Arnstein,

Could you please specify which version of RadControls you use? We are aware of such problem with RadDocking, but the issue is fixed in our latest Q3 binaries. 

Regards,
George
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Arnstein
Top achievements
Rank 1
answered on 30 Nov 2010, 09:45 AM
Hi George,
we are using the latest binaries: 2010.3 1110.40. Could you verify that this issue really is fixed? I could post an example if needed, but basically I'm just adding a radpane using the RadPaneGroupRegionAdapter and then saving the layout.

Arnstein
0
George
Telerik team
answered on 02 Dec 2010, 02:41 PM
Hello Arnstein,

Could you please send us a sample project that reproduces the problem? It will definitely help us in further pinpointing and resolving the problem.

I am glad to assist you further.

Regards,
George
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Arnstein
Top achievements
Rank 1
answered on 02 Dec 2010, 04:07 PM
It turns out that this is just an issue if you do not set the SerializationTag, which I need to set in my case. So this is not a problem for me after all :)

Arnstein
Tags
Docking
Asked by
Arnstein
Top achievements
Rank 1
Answers by
George
Telerik team
Arnstein
Top achievements
Rank 1
Share this question
or