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

PaneStateChange SaveLayout does not contain target pane in xml

3 Answers 84 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nick Wood
Top achievements
Rank 1
Nick Wood asked on 22 Dec 2011, 06:58 AM
Hi all.

I am trying to use the PaneStateChange event from RadDock to fire a SaveLayout method against the RadDock. I ignor the event when the target pane IsFloating (in the toolwindow). But even, though the event is fired after the pane is docked, the target pane is not in the xml produced, it must still be in the toolwindow. How can I get the event fired after the layout has been updated AFTER the pane is docked out of the toolwindow?

Nick

3 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 27 Dec 2011, 02:10 PM
Hi,

You can try to use the LayoutUpdated event and use the SaveLayout method there. This should save the docked pane properly. You can give it a try and see if it suits your scenario.

Greetings,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Nick Wood
Top achievements
Rank 1
answered on 08 Jan 2012, 11:01 PM
Hi Boyan

Tried that, same issue, you can test for yourself.

Do you have any other suggestions? I thought that this would be a common requirement (automatically save pane layouts after any pane changes).

Nick
0
Boyan
Telerik team
answered on 11 Jan 2012, 05:30 PM
Hello,

I tested the issue when using LayoutUpdated event but everything is working fine on my side. I have attached the project I was using to test this. Could you please take a look and see i you are doing something different. Also what version of the controls you are using, I am asking as sometimes people just leave the default value for version. I used version 2011.3.1220 which is the latest official and the one listed in the forum thread.

All the best,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Docking
Asked by
Nick Wood
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Nick Wood
Top achievements
Rank 1
Share this question
or