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

how to do PinUnpin in Dock

1 Answer 80 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Naunton
Top achievements
Rank 1
Naunton asked on 22 Jun 2010, 02:26 AM
Hi dear all,

I want to add treeview on the left side of the page and make it PinUnpin. But it doesn't work.
I choice Defaultcommand= PinUnpin
When I run it this error occour.

"Telerik.Web.UI.RadDock with ID='RadDock1' is docked into a Telerik.Web.UI.RadDockZone with ID='RadDockZone1', but it is not allowed to dock. Please, set the DockMode property to Docked, or undock the Telerik.Web.UI.RadDock control."

Pls, help me how to do it work smoothly.

Thanks and best Regards
Naunton

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 23 Jun 2010, 11:50 AM
Hi Naunton,

RadDock can be pinned only if it is in DockMode='Floating". When the PinUnpin command is enabled, if you place the dock in a zone the command will not be shown: http://demos.telerik.com/aspnet-ajax/dock/examples/commands/defaultcs.aspx.

The error shown usually results when the dock is initially in a zone (in the .aspx at design time) and has DockMode="Floating".


Kind regards,
Pero
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
Tags
Dock
Asked by
Naunton
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or