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

Disable options from menu

1 Answer 57 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ruty
Top achievements
Rank 1
ruty asked on 17 Jun 2009, 12:39 PM
Hi,
I won't that just Dockable and Auto Hide options will be possible to user from menu.(other options doesn't shown!!)
How can I do it?
Thank.

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 22 Jun 2009, 11:30 AM
Hello ruty,

To accomplish this task you should set CanDockInDocumentHost,CanFloat and CanUserClose properties of the RadPane to false and also add the following code snippet:
radPane.MenuCommands.Clear(); 
radPane.MenuCommands.Add(new DockableMenuCommand()); 
radPane.MenuCommands.Add(new AutoHideMenuCommand()); 


All the best,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Docking
Asked by
ruty
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or