Resizing/Scrollbar Questions

2 posts, 0 answers
  1. Matt
    Matt avatar
    31 posts
    Member since:
    Jan 2008

    Posted 15 Apr 2008 Link to this post

    A couple of RadDock questions....

    Is there a way to disable the scrollbars in the Docking Zone?

    Is there an easy way that you can programatically (in vb) change the size of a floating RadDock after post back?

    Does a RadDock stay in the current browser window, or if you have multiple monitors, can you click and drag the RadDock to the other screen....(I'm asking because I don't have dual-monitors.)

    Thanks in advance.

    Matt

  2. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 21 Apr 2008 Link to this post

    Hello Matt,

    If you want RadDockZone to resize when add RadDocks you should set only RadDockZone.MinHeight property instead RadDockZone.Height property. You can find a simple example, which illustrates zone without scrollbars (second zone) here:
    http://www.telerik.com/DEMOS/ASPNET/Prometheus/Dock/Examples/ZoneOrientation/DefaultCS.aspx

    Regarding your second question, the RadDock has a Height property and it can be easily controled on the server, e.g. RadDock1.Height = Unit.Pixel(400)

    As for your last question the answer is no. The RadDock control is a child of the document, e.g. it cannot be dragged outside of the browser bounds.

    Let us know if you have any other questions.

    All the best,
    Petio Petkov
    the Telerik team

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