how to remove dock from dockstate collection after dock.close event

2 posts, 0 answers
  1. Developer Developer
    Developer Developer avatar
    1 posts
    Member since:
    Mar 2005

    Posted 11 May 2011 Link to this post

    I borrowed heavily from the dynamic portal sample  .. I noticed that when a user "deletes" a dock, dock.close() fires, and the dock remains in the dockstate collection  (with Closed=true). 

    Is there a best practice or sample for how to remove it from the dockstate collection as well?
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 13 May 2011 Link to this post


    RadDockLayout object offers a method GetRegisteredDocksState(bool omitClosedDocks) which can be used to return docksState containing only the opened docks in the layout.

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top