Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Docking > Detecting if a dock is closed?
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Detecting if a dock is closed?

Feed from this thread
  • Ryan Grossman Intermediate avatar

    Posted on Apr 1, 2010 (permalink)

    Is it possible to detect if a dock is currently closed? I'm using the following to show a closed/hidden dock, but I would like to disable the button if the dock is already present on the page.

                function showCommunication()
                {
                    var obj = RadDock_GetDockableObject("<%=rdoCommunication.ClientID%>");
                    if (obj)
                    {
                        obj.Show();
                    }
                }

  • Petio Petkov Petio Petkov admin's avatar

    Posted on Apr 2, 2010 (permalink)

    Hi Ryan Grossman,

    You should use its IsClosed method, e.g.

    var obj = RadDock_GetDockableObject("<%=rdoCommunication.ClientID%>");
    if (obj)
    {
      alert(obj.IsClosed());
    }

    Hope this helps.

    Best wishes,
    Petio Petkov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Docking > Detecting if a dock is closed?