Here is an example XML -- this is not well formed xmL
<?xml version="1.0" encoding="utf-8"?><RadDocking><SplitContainers><RadSplitContainer Dock="DockedLeft" RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True"><Items><RadPaneGroup SelectedIndex="0"><Items><RadPane IsDockable="True" Title="Flight Grid" Header="Flight Grid" CanUserClose="False" /></Items></RadPaneGroup></Items></RadSplitContainer><RadSplitContainer Dock="DockedBottom" Height="180"><Items><RadPaneGroup SelectedIndex="0"><Items><RadPane IsDockable="True" Title="Alerts and Notifications" Header="Alerts and Notifications" CanUserClose="False" CanUserPin="True" CanFloat="False" /></Items></RadPaneGroup></Items></RadSplitContainer></SplitContainers></RadDocking> Grid" CanUserClose="False" /></Items></RadPaneGroup></Items></RadSplitContainer></SplitContainers></RadDocking>
8 Answers, 1 is accepted
This is an auto generated container created by Telerik to host the floating panes in. If ishidden is true for the RadPane it host and a save layout is called the XML becomes malformed and breaks the pane on the next application load when LoadLayout is called.
This:
<
RadSplitContainer
InitialPosition
=
"FloatingDockable"
FloatingWidth
=
"220"
FloatingHeight
=
"300"
FloatingX
=
"1436"
FloatingY
=
"2"
IsInOpenWindow
=
"True"
RelativeWidth
=
"100"
RelativeHeight
=
"100"
IsAutoGenerated
=
"True"
>
<
Items
>
<
RadPaneGroup
RelativeWidth
=
"100"
RelativeHeight
=
"100"
IsAutoGenerated
=
"True"
SelectedIndex
=
"0"
>
<
Items
>
<
RadPane
SerializationTag
=
"Properties"
IsHidden
=
"False"
IsDockable
=
"True"
Title
=
"Properties"
Header
=
"Properties"
CanUserClose
=
"True"
CanUserPin
=
"True"
CanFloat
=
"True"
/>
</
Items
>
</
RadPaneGroup
>
</
Items
>
</
RadSplitContainer
>
Turns into This:
</
RadDocking
>ion="FloatingOnly" FloatingWidth="220" FloatingHeight="300" FloatingX="1380" FloatingY="73" IsInOpenWindow="False" RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True"><
Items
>
<
RadPaneGroup
RelativeWidth
=
"100"
RelativeHeight
=
"100"
IsAutoGenerated
=
"True"
SelectedIndex
=
"-1"
>
<
Items
>
<
RadPane
SerializationTag
=
"Properties"
IsHidden
=
"True"
IsDockable
=
"True"
Title
=
"Properties"
Header
=
"Properties"
CanUserClose
=
"True"
CanUserPin
=
"True"
CanFloat
=
"True"
/>
</
Items
>
</
RadPaneGroup
>
</
Items
></
RadSplitContainer
></
SplitContainers
></
RadDocking
>litContainer></
SplitContainers
></
RadDocking
>
Please accept my apologies for the late reply.
I just replied to the Brett's support ticket and I will paste the answer here as well, because it seems you both have one and same issue with RadDocking control:
We took some time to investigate this issue and we believe that saving the layout on these events could cause breaking the xml, because changing the RadDocking layout is not completed.
Anyway, we will continue investigating the problem and trying to reproduce it on our side. If you could send us a sample project that reproduces the issue, it would be of great help.
George
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!
Do you have the solution to this problem? I had a similar issue with my Out-of-browser application and I resorted to only save when the application exits, which works for my case. Nevertheless I would be interested in seeing the some actual solution to this problem,
Regards,
Siew Fai
There was a fix for the Saving/Loading mechanism recently. Could you, please try your application with the latest internal build (2011.2.823) and post the result here?
Best wishes,
Ivo
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 >>
I suspect that my issues are different, I have opened a support ticket regarding my issue.
Thanks,
Siew Fai Hoy