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

Editing Mode Tab text

4 Answers 40 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 29 Jul 2011, 05:49 PM
Is it possible to change the text of the Mode Tabs?  For example, inside of the tab saying "Design" I'd like it to say "Edit".

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Aug 2011, 01:10 PM
Hello Matt,

You can change the localization strings of the Design, HTML and Preview buttons by opening the \App_GlobalResources\RadEditor.Main.resx file and changing the values of the RadEditorDesignMode, RadEditorHtmlMode and RadEditorPreviewMode properties.

More information about the localization can be found in this article: Using Global Resource Files.

Best regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Matt
Top achievements
Rank 1
answered on 03 Aug 2011, 01:23 PM
Is there a way to do this programmatically?
0
Accepted
Rumen
Telerik team
answered on 03 Aug 2011, 01:58 PM
Hi Matt,

Yes, you can do that using the code below:

RadEditor1.Localization.Main.RadEditorDesignMode = "Design";   
RadEditor1.Localization.Main.RadEditorHtmlMode = "HTML";
RadEditor1.Localization.Main.RadEditorPreviewMode = "Preview";

Greetings,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Matt
Top achievements
Rank 1
answered on 03 Aug 2011, 05:31 PM
This worked perfectly.  Thanks!
Tags
Editor
Asked by
Matt
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Matt
Top achievements
Rank 1
Share this question
or