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

Problem of Docking SaveLayout Method

6 Answers 88 Views
Docking
This is a migrated thread and some comments may be shown as answers.
alino
Top achievements
Rank 1
alino asked on 06 Jul 2011, 09:34 PM
Hi,

I Have a problem when i call the saveLayout method of RadDocking. I added to my RadSplitContainer and RadGroupPane the serialization Tag.  I Use the PaneGroupExtension to Bind from the ViewModel the RadDocumentPane collection to the RadPaneGoup. Before I add the RadDocumentPane to the bounded collection i set the serialization tag's attached property. In The resulting XML  file, all RadDocumentPane elements do not have  SerializationTag attribute. How can I solve my problem because i need to save in the SerializableTag the switable information related to the content in order to be abble to set the content of the Pane when Loading the saved layout..

Thanks for your precious help.

Alino

6 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 13 Jul 2011, 04:02 PM
Hello Alino,

 I tried the scenario you described, but I couldn't reproduce the problem. I'm attaching the project I used to perform this test. Could you please point us what am I missing?

Best wishes,
Miroslav Nedyalkov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
alino
Top achievements
Rank 1
answered on 13 Jul 2011, 08:39 PM
Hi Miroslav,

Thank U for your quick replay. I Created a customized pane Object which inherits from

RadDocumentPane. My ItemsSource is a collection of my customized object instead of RadPane. I think this is why it does not work properly and I have to change My ItemsSource collection to RadPane to be abble to load and save the my layout. Thanks for the example you provided me, it helped me a lot.

Best regards.

0
Miroslav Nedyalkov
Telerik team
answered on 14 Jul 2011, 02:13 PM
Hi Alino,

 I'm glad I was able to help. You could use custom panes in a collection of RadPanes as I do in the example.

Best regards,
Miroslav Nedyalkov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
DANIIl
Top achievements
Rank 1
answered on 29 Jun 2015, 08:54 AM

Hi, Miroslav.

 

Can you help me, i have a one problem. I use PaneGroup extension to bing RadPanes to collection. I use persistanceManagerFramework to save settings: header, aligment, floating, order of Panes. 

 

When I load settings the size of headers is very small and i can't see the text.

 

I hope, you can help me!

0
Nasko
Telerik team
answered on 01 Jul 2015, 09:56 AM
Hello,

We are not exactly sure that we completely understand your scenario. Could you please provide us some more detailed information about your scenario and the observed by you behavior of RadDocking. Are you using the DockingPanesFactory to initialize your Panes? Providing us a code-snippet of you Save/Load functionality and RadDocking will also be of great help for our further investigation.

We are looking forward to hearing from you.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
DANIIl
Top achievements
Rank 1
answered on 01 Jul 2015, 01:56 PM
Thanks, i fing solve with DockingPanelFactory. 
Tags
Docking
Asked by
alino
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
alino
Top achievements
Rank 1
DANIIl
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or