Can DockState be overloaded?

2 posts, 1 answers
  1. Lina
    Lina avatar
    30 posts
    Member since:
    Jan 2008

    Posted 01 Feb 2008 Link to this post

    Hi, I'm new to the Docking controls but I was wondering if it is possible to overload the DockState with some more data that is specific to layout of my application.

    It would be great if the existing architecture of loading/saving DockLayout could be used to load/save other info like parameters that need to be passed to a control inside the Dock.

    So, for instance, if a user selects a date in a calendar that exist inside the RadDock, can I add it to the DockState so that on postback it is remembered and the date is selected next time it loads?

    Thanks,
    Lina
  2. Answer
    Petya
    Admin
    Petya avatar
    869 posts

    Posted 04 Feb 2008 Link to this post

    Hi Lina,

    You could take advantage of the Tag property of RadDock which is saved in the DockState state as well - it is provided especially for the developers to store any custom value concerning each dock. Hope this helps.

    Best wishes,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top