Pinned not working in RadDock

3 posts, 1 answers
  1. David
    David avatar
    30 posts
    Member since:
    Feb 2007

    Posted 26 Mar 2008 Link to this post

    Hello,

    When setting the pinned parameter of a RadDock to true, the RadDock is expanded beyond its container and all RadDocks overlap.

    2007 Q3 Prometheus:


    RadDock rdoAlert = new RadDock();

               
                rdoAlert.Pinned = true;
                rdoAlert.Text = woAlert.title;
                rdoAlert.ID = woAlert.uID;
                rdoAlert.UniqueName = woAlert.uID;           
                rdoAlert.Width = Unit.Percentage(100);
                rdoAlert.DefaultCommands =    Telerik.Web.UI.Dock.DefaultCommands.None;
                rdoAlert.ToolTip = woAlert.toolTip;
                rdoAlert.Title = woAlert.title;

    Thank you,

    Travis
  2. Answer
    Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 28 Mar 2008 Link to this post

    Hi Ken,

    By design the Pinned property of the RadDock is aimed to be used only for floating docks. Having set the Pinned property of a floating dock to true the dock's position is set to fixed and the dock cannot be dragged anywhere on the page. 

    If you want to disable dragging a RadDock which is not floating you can just use the EnableDrag property of RadDock and set its value to false

    Please, let us know if you have any other questions.

    Kind regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. David
    David avatar
    30 posts
    Member since:
    Feb 2007

    Posted 28 Mar 2008 Link to this post

    Not sure how I missed that....it did the trick.  Thank you!
Back to Top