This is a migrated thread and some comments may be shown as answers.

[Solved] Pinned not working in RadDock

2 Answers 150 Views
Dock
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 26 Mar 2008, 06:36 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Sophy
Telerik team
answered on 28 Mar 2008, 07:55 AM
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
0
David
Top achievements
Rank 1
answered on 28 Mar 2008, 01:21 PM
Not sure how I missed that....it did the trick.  Thank you!
Tags
Dock
Asked by
David
Top achievements
Rank 1
Answers by
Sophy
Telerik team
David
Top achievements
Rank 1
Share this question
or