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

Can't change EditorToolStrip name and text

1 Answer 41 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Vincent asked on 19 Jul 2010, 03:15 AM
Hi Telerik team

I am using the radeditor's CustomToolStrip to group number of links and I configure the whole editor in the xml file.  here is the link toolstrip

 <EditorToolStrip name="Links" PopupHeight="250px"  Text="Insert Links">
      <EditorTool name="InsertHyperlink" Text="Insert aaa"/>
      <EditorTool name="InsertLinkForwardToAFriend" Text="Insert bbbb" />
      <EditorTool name="InsertLinkToReferAFriend" Text="Insert Refer a Friend Link" />
      <EditorTool name="InsertSmartShare" Text="Insert Smart Share Link" />
      <EditorTool name="InsertBookmark" Text="Insert Bookmark"/>
      <EditorTool name="InsertLandingPage" Text ="Insert Link To Landing Page "/>
      <EditorTool name="InsertLinkToForm" Text="Insert Link To Form" />
      <EditorTool name="InsertLinkToSubForm" Text="Insert Link To Subscription Form" />
      <EditorTool name="InsertPrefCentre" Text ="Insert Link To Preference Centre "/>
      <EditorTool name="InsertWebVer" Text =" Insert Link To Web Version"/>
      <EditorTool name="InsertUnsub" Text ="Insert Unsubscribe Link "/>
      <EditorTool name="InsertLinkToFile" Text="Insert Link to File"/>

It always display "Insert aaa" when I hover this toolStrip, what I want is to display "Insert Links" .

I hope it does make sense.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 20 Jul 2010, 04:20 PM
Hi Vincent,

Thank you for bringing this problem to our attention. I will log it into our ToDo list (i.e. to add a Text property to the EditorToolStrip element), and we will do our best to implement it for one of our upcoming releases. For the time being, you can use the following sample code to modify the initial tooltip of the ToolStrip button:
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad" ToolsFile="ToolsFile.xml">
<script type="text/javascript">
    function OnClientLoad(sender, args)
        //get reference to the tool
        var customLinkToolStrip = sender.getToolByName("Links");
        //set title attribute to modify the tooltip
        customLinkToolStrip.get_element().setAttribute("title", "Insert Links");

Please note that, EditorToolStrip is a collection of RadEditor's tools, and when you select a tool from the dropdown it will replace the default icon and tooltip.

All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question