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

Intermittent Problem with Serialization

1 Answer 56 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 20 Sep 2010, 10:15 PM
I have noticed a strange intermittent problem with the serialization of the RadPanes in the Docking component. I might copy and paste the code, but that would be redundant, inasmuch as it is the same sample code that I copied from your website. I have noticed that every now and then, for a reason that I cannot determine, serialization information will be completely absent for a single RadPane. They all have SerializationTag attributes, and they all work fine most of the time. I am taking the serialization string, which looks like this:

<RadDocking><DocumentHost><RadSplitContainer Dock="DockedLeft"><Items><RadPaneGroup SelectedIndex="-1"><Items><RadPane SerializationTag="Mailboxes" IsDockable="True" Title="Mailboxes" Header="Mailboxes" /><RadPane SerializationTag="MigrationQueue" IsDockable="True" Title="Migration Queue" Header="Migration Queue" /><RadPane SerializationTag="Settings" IsDockable="True" Title="Settings" Header="Settings" /><RadPane SerializationTag="Blackout" IsDockable="True" Title="Blackout" Header="Blackout Times" /><RadPane SerializationTag="Log" IsDockable="True" Title="Log" Header="Log" /><RadPane SerializationTag="Summary" IsDockable="True" Title="Summary" Header="Summary" /><RadPane SerializationTag="Schedule" IsDockable="True" Title="Schedule" Header="Schedule" /><RadPane SerializationTag="Metrics" IsDockable="True" Title="Metrics" Header="Metrics" /></Items></RadPaneGroup></Items></RadSplitContainer></DocumentHost><SplitContainers /></RadDocking>

and I save it to IsolatedStorage, like the example showed. Sometimes, a single RadPane will not be included in this serialization string, and when I LoadSettings, that pane will be missing from the UI, and when I try to put it back with the code-behind, it will not appear. The only workaround I have come up with is to check for this particular bug and discard the settings instead of loading them when it happens.

Are you familiar with this issue? Is there another thread that already addresses it?

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 23 Sep 2010, 03:08 PM
Hi Keith,

This sounds very strange. Could you please give us more details about this scenario? When does this happen? In what state is this RadPane? Is it hidden? I will be glad to assist you further.

Looking forward to your reply.

Regards,
George
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Keith
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or