PaneStateChange SaveLayout does not contain target pane in xml

4 posts, 0 answers
  1. Nick Wood
    Nick Wood avatar
    126 posts
    Member since:
    Feb 2010

    Posted 22 Dec 2011 Link to this post

    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
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 27 Dec 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Nick Wood
    Nick Wood avatar
    126 posts
    Member since:
    Feb 2010

    Posted 08 Jan 2012 Link to this post

    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
  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 11 Jan 2012 Link to this post

    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 >>

Back to Top