Editing Mode Tab text

5 posts, 1 answers
  1. Matt
    Matt avatar
    9 posts
    Member since:
    Jun 2011

    Posted 29 Jul 2011 Link to this post

    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".
  2. Rumen
    Admin
    Rumen avatar
    14028 posts

    Posted 03 Aug 2011 Link to this post

    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.

  3. Matt
    Matt avatar
    9 posts
    Member since:
    Jun 2011

    Posted 03 Aug 2011 Link to this post

    Is there a way to do this programmatically?
  4. Answer
    Rumen
    Admin
    Rumen avatar
    14028 posts

    Posted 03 Aug 2011 Link to this post

    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.

  5. Matt
    Matt avatar
    9 posts
    Member since:
    Jun 2011

    Posted 03 Aug 2011 Link to this post

    This worked perfectly.  Thanks!
Back to Top