Intermittent Problem with Serialization

2 posts, 0 answers
  1. Keith
    Keith avatar
    2 posts
    Member since:
    Aug 2010

    Posted 20 Sep 2010 Link to this post

    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?
  2. George
    George avatar
    1332 posts

    Posted 23 Sep 2010 Link to this post

    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.

    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
Back to Top