RadEditor RibbonBar - ToolsFile set tool group header

2 posts, 0 answers
  1. Chris
    Chris avatar
    111 posts
    Member since:
    Oct 2015

    Posted 29 Jan 2016 Link to this post


    I'm using ToolsFile to customize the RadEditor.Tools :


      <telerik:RadEditor ID="RadEditor1" Runat="server" ToolbarMode="RibbonBar" ToolsFile="~/Editor/DefaultToolsFile.xml">


      <tools name="Clipboard" tab="Home">
        <tool name="Cut" text="cut" size="medium"/>

    But how to set the group header (space char included) for tools group in ToolsFile :

      <tools name="Clipboard" text="Home here" tab="Home">
        <tool name="Cut" text="cut" size="medium"/>

    text and header property not works, change the value of 'name' property ?

    *group header sample - http://docs.telerik.com/devtools/wpf/controls/radribbonview/features/ribbon-controls/images/RibbonView_Group_Overview.png

    Best regards



  2. Marin Bratanov
    Marin Bratanov avatar
    4931 posts

    Posted 01 Feb 2016 Link to this post

    Hello Chris,

    You can use the name attribute of the tools node: http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/toolbars/using-toolsfile.xml#tools-collectiontoolsandheadetools. I'll update the article to explain this more clearly.

    Here is a basic example:

    <?xml version="1.0" encoding="utf-8" ?>
        <tools name="Page Setup" tab="Page Layout">
            <tool name="PageProperties" size="large" />
    <telerik:RadEditor ID="RadEditor1" runat="server" ToolsFile="XMLFile.xml" ToolbarMode="RibbonBar"></telerik:RadEditor>

    and the expected result from this is attached.

    You can see this in action in the following demo as well: http://demos.telerik.com/aspnet-ajax/editor/examples/ms-word-like-experience/defaultcs.aspx.


    Marin Bratanov
    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 Feedback Portal and vote to affect the priority of the items
Back to Top