DockCloseCommand problem. Dock not getting un-registered when closed

3 posts, 0 answers
  1. Adrian
    Adrian avatar
    81 posts
    Member since:
    Aug 2006

    Posted 12 May 2009 Link to this post

    Following your dynamic dock example, i see there is an issue with closing dynamic docks. 

    When obtaining the GetRegisteredDocksState(), all closed (removed from dock zones) docks are still showing up as being registered to the dock zone. Is this by design ? or does the DockCloseCommand() not automatically un-register these closed docks ?

    Thanks


  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 12 May 2009 Link to this post

    When a RadDock is closed it is hidden on the page, so you should not recreate it on the next postback if it is closed.
    This technique is illustrated In the following example:
    http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx
  3. Adrian
    Adrian avatar
    81 posts
    Member since:
    Aug 2006

    Posted 12 May 2009 Link to this post

    Ah the all important missing line of code from the other example !! 

    Many thanks !!

    Ady
Back to Top