Problem of Docking SaveLayout Method

7 posts, 0 answers
  1. alino
    alino avatar
    22 posts
    Member since:
    Sep 2010

    Posted 06 Jul 2011 Link to this post

    Hi,

    I Have a problem when i call the saveLayout method of RadDocking. I added to my RadSplitContainer and RadGroupPane the serialization Tag.  I Use the PaneGroupExtension to Bind from the ViewModel the RadDocumentPane collection to the RadPaneGoup. Before I add the RadDocumentPane to the bounded collection i set the serialization tag's attached property. In The resulting XML  file, all RadDocumentPane elements do not have  SerializationTag attribute. How can I solve my problem because i need to save in the SerializableTag the switable information related to the content in order to be abble to set the content of the Pane when Loading the saved layout..

    Thanks for your precious help.

    Alino
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 13 Jul 2011 Link to this post

    Hello Alino,

     I tried the scenario you described, but I couldn't reproduce the problem. I'm attaching the project I used to perform this test. Could you please point us what am I missing?

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. alino
    alino avatar
    22 posts
    Member since:
    Sep 2010

    Posted 13 Jul 2011 Link to this post

    Hi Miroslav,

    Thank U for your quick replay. I Created a customized pane Object which inherits from

    RadDocumentPane. My ItemsSource is a collection of my customized object instead of RadPane. I think this is why it does not work properly and I have to change My ItemsSource collection to RadPane to be abble to load and save the my layout. Thanks for the example you provided me, it helped me a lot.

    Best regards.

  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 14 Jul 2011 Link to this post

    Hi Alino,

     I'm glad I was able to help. You could use custom panes in a collection of RadPanes as I do in the example.

    Best regards,
    Miroslav Nedyalkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  6. DANIIl
    DANIIl avatar
    14 posts
    Member since:
    Apr 2015

    Posted 29 Jun 2015 in reply to Miroslav Nedyalkov Link to this post

    Hi, Miroslav.

     

    Can you help me, i have a one problem. I use PaneGroup extension to bing RadPanes to collection. I use persistanceManagerFramework to save settings: header, aligment, floating, order of Panes. 

     

    When I load settings the size of headers is very small and i can't see the text.

     

    I hope, you can help me!

  7. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 01 Jul 2015 Link to this post

    Hello,

    We are not exactly sure that we completely understand your scenario. Could you please provide us some more detailed information about your scenario and the observed by you behavior of RadDocking. Are you using the DockingPanesFactory to initialize your Panes? Providing us a code-snippet of you Save/Load functionality and RadDocking will also be of great help for our further investigation.

    We are looking forward to hearing from you.

    Regards,
    Nasko
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  8. DANIIl
    DANIIl avatar
    14 posts
    Member since:
    Apr 2015

    Posted 01 Jul 2015 in reply to Nasko Link to this post

    Thanks, i fing solve with DockingPanelFactory. 
Back to Top
DevCraft banner