Save\Load RadDocking layout with custom DocumentPanes

3 posts, 1 answers
  1. Sergey
    Sergey avatar
    58 posts
    Member since:
    Jan 2013

    Posted 14 Mar 2014 Link to this post

    Hello. I decided to create my own DocumentPane based on RadDocumentPane. Then I tried to save and load RadDocking layout. Saving layout operation works good, but loading layout operation gives me a error:

    ​Specified argument was out of the range of valid values.
    Parameter name: elementTypeName

    How can I load layout with my custom documentPanes?
  2. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 18 Mar 2014 Link to this post

    Hi Sergey,

    You could use the CustomElementLoading event of RadDocking control. The event will be fired on loading layout if there is unknown element ( for example, custom Pane). All you need is to set AffectedElement with the correct object.

    Please, refer to the attached project and let me know if this helps.

    Regards,
    George
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Sergey
    Sergey avatar
    58 posts
    Member since:
    Jan 2013

    Posted 20 Mar 2014 Link to this post

    Thanks. It helped me.
Back to Top