Limit DockZone to only 1 RadDock

4 posts, 0 answers
  1. Voss Grose
    Voss Grose avatar
    81 posts
    Member since:
    Sep 2012

    Posted 19 Jul 2008 Link to this post

    Is there a way to limit a Zone to only 1(or some number) of docks?

    I found a post from last year, but the code did not work for me.
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 21 Jul 2008 Link to this post

    Hello Voss,

    Please, take a look at the following forum threads which address the same issue:
    You will need to write custom code depending on your exact scenario. If the above suggested threads cannot help you implement the desired functionality, please, explain in details which are the problems you encounter and the scenario you have. We will be glad to help you.

    Greetings,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Voss Grose
    Voss Grose avatar
    81 posts
    Member since:
    Sep 2012

    Posted 21 Jul 2008 Link to this post

    This example "Make each dockzone just hold one dock?" did not work for me in either FF or IE.

    I added the page to my project.

    The "var zone2 = $find(dock.get_DockZoneID());" failed.

    Can u re-test the example to confirm that it works?
    thanks....
  4. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 21 Jul 2008 Link to this post

    Hello Voss,

    The client-side API of RadDock from the last year is a little bit changed to follow the ASP.NET Ajax naming conventions. You can use the RadDock Client Object help article for reference. That is why, the line you mention fails. You need to replace get_DockZoneID() with get_dockZoneID(), e.g:
    var zone2 = $find(dock.get_DockZoneID());
    For your convenience I have attached a modified version of the example from the Make each dockzone just hold one dock? forum thread which uses the new client-side API of the control.

    Kind regards,
    Sophy
    the Telerik team

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