This is a migrated thread and some comments may be shown as answers.
SetSerializationTag is not working
7 Answers 45 Views
This is a migrated thread and some comments may be shown as answers.
lkeel
Top achievements
Rank 1
lkeel asked on 25 Oct 2010, 05:52 PM
I have some windows that I am creating programmatically.  I found the RadDocking.SetSerializationTag() method to set the tag, but when I open my windows from the radDocking.LoadLayout() the code loaded windows do not have controls on them.  If I do not call the layout function, then everything is loaded just fine.  Here is my code:
RadPane redlineBottomPane = new RadPane();
 
redlineBottomPane.Name = "rpnBottomRedline";
redlineBottomPane.Header = "Redline Sessions";
redlineBottomPane.Title = "Redline Sessions";
redlineBottomPane.CanUserClose = false;
redlineBottomPane.CanDockInDocumentHost = true;
redlineBottomPane.IsPinned = true;
 
Telerik.Windows.Controls.RadDocking.SetSerializationTag(redlineBottomPane, "RedlinePluginPane");

Please let me know what is wrong with this.  Thanks in advance.

7 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 28 Oct 2010, 12:18 PM
Hello Lee,

I tried to reproduce the problem, but to no avail. Attached you can find the sample. Could you please let me know if I am doing something wrong.

I will be glad to assist you further.

Best wishes,
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
0
lkeel
Top achievements
Rank 1
answered on 29 Oct 2010, 10:35 PM
Thank you for replying to my message.  I have been looking at the differences between what your sample was doing and what my application is doing and I now see where I was wrong.  However, I have now run into an interesting problem that I can't reproduce in the sample you gave me.

In my application, I am creating a RadDocumentPane (that will not be saved) and adding it to my documentGroup.  Now the strange thing here is that if I call radDocking1.LoadLayout(stream) then I can't get my RadDocumentPane to display.  It is created and there are no errors, but it never displays anywhere.  However, if I comment out the LoadLayout line, then the new RadDocumentPane appears without any problems.

Does anyone have any ideas on what I may be missing here?

Thanks,
Lee
0
George
Telerik team
answered on 01 Nov 2010, 07:13 PM
Hi Lee,

We are aware of this problem with RadDocking control. This issue is relative to the following one - http://www.telerik.com/support/pits.aspx#/public/wpf/3824 We will fix this bug in one of our future releases.

Sorry for any inconvenience caused.

All the best,
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
0
lkeel
Top achievements
Rank 1
answered on 01 Nov 2010, 07:33 PM
So, let me get this straight.  In order to save\restore the layout information, I have to use your Save\Load methods but if I use that, I can't load new document windows?  And this is not a severity 1 bug?  How is that not a higher priority?  This renders the LoadLayout useless for anyone who has an application that creates new windows.  This is outrageous.  I really like the Telerik suite of controls 89% of the time, but man that 11% of the time is a real pain in the butt.
0
George
Telerik team
answered on 02 Nov 2010, 05:03 PM
Hi Lee,

I think I misunderstood your scenario. Could you please give us some more details about the problem? I will be glad to help you. If you send me a sample project or instructions to reproduce the issue, it would be very helpful in further pinpointing and resolving the problem.

I will be glad to assist you further.

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
0
lkeel
Top achievements
Rank 1
answered on 02 Nov 2010, 08:04 PM
I apologize for going off then.  I have updated the bug and await a response.
0
George
Telerik team
answered on 04 Nov 2010, 09:00 AM
Hi Lee,

Could you please give us more information how do you define the RadDocking control in the xaml? Also, how do you add a new document pane to the RadDocking control? I tried to reproduce the problem, but to no avail. Please, double check that you set SerializationTag to the RadPaneGroup when you want to add the new pane.

Attached you can find the sample. I hope this helps. Please do not hesitate to contact us if you require any further information.
 

All the best,
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
Asked by
lkeel
Top achievements
Rank 1
Answers by
George
Telerik team
lkeel
Top achievements
Rank 1
Share this question
or