This question is locked. New answers and comments are not allowed.
Hi,
I have encountered a problem with RadPane content.
I load my app. I then manually (using code) create dock groups and Panes. I then load the content into each of the panes from another user control. Everything works just fine... All the panes are as expected & the content s visible.
But...
If I then apply layout loading and saving I lose the content...
I added events so that once the layout and docking changes by a user action, I save the layout to a silverlight file store as xml. When the application loads I then load my panels as before (above), then apply a layout from the saved xml (the user's last layout arrangement) and the content is lost.
ALSO - I tried loading the content AFTER the layout is applied...
If I load my RadPanes, then adjust the layout, then load the content after the layout, the content still does not appear. The content is in the control, as I can see it in my debugger, but visually the RadPane does not show the content.
What must I do to cause the content to appear. Do I need to update some layout somewhere ?..
Thanks...
I have encountered a problem with RadPane content.
I load my app. I then manually (using code) create dock groups and Panes. I then load the content into each of the panes from another user control. Everything works just fine... All the panes are as expected & the content s visible.
But...
If I then apply layout loading and saving I lose the content...
I added events so that once the layout and docking changes by a user action, I save the layout to a silverlight file store as xml. When the application loads I then load my panels as before (above), then apply a layout from the saved xml (the user's last layout arrangement) and the content is lost.
ALSO - I tried loading the content AFTER the layout is applied...
If I load my RadPanes, then adjust the layout, then load the content after the layout, the content still does not appear. The content is in the control, as I can see it in my debugger, but visually the RadPane does not show the content.
What must I do to cause the content to appear. Do I need to update some layout somewhere ?..
Thanks...
7 Answers, 1 is accepted
0
Hello Paul,
RadDocking cannot save the content of the panes itself. If you want to save it you will have to use SerializationTag property of the groups and panes. Here you can find an example how to save and load the content of your panes.
Hope this helps.
Regards,
Ivo
the Telerik team
RadDocking cannot save the content of the panes itself. If you want to save it you will have to use SerializationTag property of the groups and panes. Here you can find an example how to save and load the content of your panes.
Hope this helps.
Regards,
Ivo
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0

Paul
Top achievements
Rank 1
answered on 03 Aug 2011, 12:05 PM
Hi,
Thanks for the reply... but you didn't appreciate what I was doing.
I'm happy to "load" the layout for my panels, BEFORE I add the content to them.
Thanks.
Thanks for the reply... but you didn't appreciate what I was doing.
I'm happy to "load" the layout for my panels, BEFORE I add the content to them.
- I will load my panels...
- Then load the layout for them (as per the user's last saved layout)
- Then Finally - clear the content for each panel & re-load a user control.
I'm not expecting the serialisation process to save the content - jut the position & layout of the panels in the docking arrangement.
I expect to do all of the content loading manually AFTER the layout has been re-loaded.
Thanks.
0
Hi Paul,
We're sorry for the misunderstanding.
Could you please send us some code which shows how exactly you load the content? We need this information in order to test the scenario. Also which version of the controls you're using? Thanks in advance
Kind regards,
Yana
the Telerik team
We're sorry for the misunderstanding.
Could you please send us some code which shows how exactly you load the content? We need this information in order to test the scenario. Also which version of the controls you're using? Thanks in advance
Kind regards,
Yana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0

Mago
Top achievements
Rank 1
answered on 17 Aug 2011, 11:57 AM
Hi Paul,
I had this problem too and I found out that if you set the IsSelected value of the RadPane to "true" the content will be displayed.
Hope this works for you.
I had this problem too and I found out that if you set the IsSelected value of the RadPane to "true" the content will be displayed.
Hope this works for you.
0

Mago
Top achievements
Rank 1
answered on 17 Aug 2011, 12:28 PM
I also have a problem with RadDocking and it's Save/Load Layout feature.
I apologies in advance if there is another thread on this topic, but I couldn't seem to find it.
I have an application with static and dynamic RadPanes. All the RadPanes can be minimized (closed and reopened, I'm using the IsHidden property to do this). My problem is with a RadPane that is dynamically created and added as a child of a static created RadSplitContainer. If this RadPane is minimized and then the layout is saved, after loading the layout and making the RadPane visible it is no longer dockable (floating only).
After I looked over the generated XML I saw that this RadPane had the IsDockable property set to true but it is the child of an autogenerated RadSplitContainer which isn't dockable.
Hope you can help.
I apologies in advance if there is another thread on this topic, but I couldn't seem to find it.
I have an application with static and dynamic RadPanes. All the RadPanes can be minimized (closed and reopened, I'm using the IsHidden property to do this). My problem is with a RadPane that is dynamically created and added as a child of a static created RadSplitContainer. If this RadPane is minimized and then the layout is saved, after loading the layout and making the RadPane visible it is no longer dockable (floating only).
After I looked over the generated XML I saw that this RadPane had the IsDockable property set to true but it is the child of an autogenerated RadSplitContainer which isn't dockable.
Hope you can help.
0
Hello Mago,
I tried to reproduce the issue, but to no avail. Attached I am sending you the project I used. Could you please modify it in order to reproduce the issue and send it back to us. In that way we will be able to track down the source of the problem and provide a solution in a timely manner.
Looking forward to your reply.
Best wishes,
Konstantina
the Telerik team
I tried to reproduce the issue, but to no avail. Attached I am sending you the project I used. Could you please modify it in order to reproduce the issue and send it back to us. In that way we will be able to track down the source of the problem and provide a solution in a timely manner.
Looking forward to your reply.
Best wishes,
Konstantina
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0

Mago
Top achievements
Rank 1
answered on 23 Aug 2011, 08:19 AM
Ok thank you! As soon as I have the time I will try to send you a sample.