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

Where is DockContextMenu on UserDockControl?

6 Answers 79 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 2
Adam asked on 26 Jan 2009, 05:29 PM
I'm trying to disable the context menu on my own inherited UserDockControl.  To do this for a DocumentPane or a DockPanel, I know I would subscribe to (and cancel) the DropDownOpening event on the DockContextMenu.  I can't seem to find this on the UserDockControl.

Any suggestions to disable or ideally hide the right-click context menu on a UserDockControl?

Thanks!

6 Answers, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 2
answered on 26 Jan 2009, 05:34 PM
[Edit] I am using Version 2008.31204
0
Julian Benkov
Telerik team
answered on 28 Jan 2009, 02:56 PM
Hello Adam,

Sorry for the introduced inconvenience.

The UserDockControl and UserDockForm do not support this features. We are currently working on a major update of our RadDock component, and the new edition will come with new API for adding and managing UserControls and Forms. This improvement will be introduced in our Q1 2009 release.
 

Kind regards,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Savan
Top achievements
Rank 1
answered on 14 May 2009, 01:57 AM
Hi have got Q1 2009 version, would like to know how to load forms & controls in Dockpanels.

Currently I have one main form, have a docking manager inside it with two DockPanels.

Left side I have my OutlookNavPanelBar as my NavigationMenu and right side is my viewpanel.

There are several contentpanels which I am making visible and invisible as per the menu button clicked.....

My Design has become cumbersome by adding so many content panels.....

Is their something like MDI like traditional windows wherein I can replace my contentpanels with Forms....

My clients requirement is to keep the menu style as OutlookNavPanelBar...

Many thanks in advance...
savan
0
Nikolay
Telerik team
answered on 16 May 2009, 03:02 PM
Hi Savan,

Please set AutoDetectMdiChildForms of DockingManager to true. This will create a new document pane for each new MDI child form.

If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
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.
0
Savan
Top achievements
Rank 1
answered on 24 May 2009, 11:02 PM
Thanks for the response and Sorry for late reply...

My Concern is I don't want separate window panes to be opened in my application I want MS-Outlook like behaviour, wherein only one window is opened and active.

For e.g. in MS-Outlook when you move from Contacts --> Mail we have only "Mail" stuff for operating and Vice-Versa 
Mail --> Contacts  we have only "Contacts" stuff to operate.

Many thanks in advance....
Savan

0
Nikolay
Telerik team
answered on 27 May 2009, 11:06 AM
Hi Savan,

If you want to have the Outlook functionality and use RadDock, you do not need MDI to cover your scenario. You can simply create UserControls inheriting from UserDockControls and set them as documents in the DockingManager. I am attaching a sample project which demonstrates this approach.

I hope this helps. If you have additional questions, feel free to contact me.

Sincerely yours,
Nikolay
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
Dock
Asked by
Adam
Top achievements
Rank 2
Answers by
Adam
Top achievements
Rank 2
Julian Benkov
Telerik team
Savan
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or