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

Change text of the items in the context menu

4 Answers 136 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Jill-Connie Lorentsen
Top achievements
Rank 1
Jill-Connie Lorentsen asked on 30 Mar 2009, 07:38 AM

I would like to change the text of the items

-Close
-Close All But This
-New Horizontal Tab Group
-New Vertical Tab Group

in the context menu of my document panes

I use the DockingManager with automatic MDI child detection enabled.

I just want to change it to another language, the functionality must remain the same.

Also, is it possible to remove the New Horizontal/Vertival Tab Group items?


Regards,
Jill-Connie Lorentsen

4 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 31 Mar 2009, 01:14 PM
Hello Jill-Connie Lorentsen,

Thank you for contacting us.

You can use LocalizationSettings property of the DockingManager to localize the context menu. About the menu changes you can use the DockPanel.DockContextMenu.DropDownOpening event handler.

Do not hesitate to contact me back if you have further questions.

Best wishes,
Julian Benkov
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
yas
Top achievements
Rank 1
answered on 25 Jan 2010, 02:26 PM
please could u provide a small tutorial like u did with the other controls ??
thank you
0
Nikolay
Telerik team
answered on 27 Jan 2010, 11:35 AM
Hello yas,

In order to change the text of the RadDock context menu items, you should create a custom localization provider. For additional information, please refer to the following help article: Localization.

Best wishes,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nathaniel
Top achievements
Rank 1
answered on 21 Feb 2011, 09:54 PM
For those who might be struggling with this, the following link contains updated information, and is applicable to DocumentWindow

http://www.telerik.com/help/winforms/dock-architecture-and-features-using-the-contextmenuservice.html
Tags
Dock
Asked by
Jill-Connie Lorentsen
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
yas
Top achievements
Rank 1
Nikolay
Telerik team
Nathaniel
Top achievements
Rank 1
Share this question
or