hi,
I'm trying to create an editor using the ribbonbar toolbar mode, but having a couple of problems:
firstly, you can't specify the 'tab' names if you declare the toolbar inside the editor tags ie you cannot use:
as this brings up an error. You have to use a separate tools.xml file to create a customised ribbonbar.
Another issue is that if you try to specify the image in the xml file, it works ok for the small and medium buttons (using imageurl="xx" in the 'tool' node), but when you specify size="large" in the tool node and use imageUrlLarge="xx" attribute (or even imageUrl="xx"), it does not load your large image file - ie. this does not work:
but if you specify the large image file when not using a separate xml file it does work - eg this works:
I'm trying to create an editor using the ribbonbar toolbar mode, but having a couple of problems:
firstly, you can't specify the 'tab' names if you declare the toolbar inside the editor tags ie you cannot use:
<
telerik:RadEditor
ID
=
"RadEditor2"
runat
=
"server"
>
<
Tools
name
=
"Save - Restore"
tab
=
"Home"
>
</
Tools
>
</
telerik:RadEditor
>
as this brings up an error. You have to use a separate tools.xml file to create a customised ribbonbar.
Another issue is that if you try to specify the image in the xml file, it works ok for the small and medium buttons (using imageurl="xx" in the 'tool' node), but when you specify size="large" in the tool node and use imageUrlLarge="xx" attribute (or even imageUrl="xx"), it does not load your large image file - ie. this does not work:
<
tool
name
=
"SaveContent"
text
=
"Save"
shortcut
=
"CTRL+S"
size
=
"large"
imageUrlLarge
=
"images/save.gif"
/>
but if you specify the large image file when not using a separate xml file it does work - eg this works:
<
telerik:RadEditor
ID
=
"RadEditor2"
runat
=
"server"
ToolbarMode
=
"RibbonBar"
>
<
Tools
>
<
telerik:EditorToolGroup
>
<
telerik:EditorTool
ImageUrlLarge
=
"images/save.gif"
size
=
"large"
Text
=
"Save Content"
Name
=
"SaveContent"
/>
</
telerik:EditorToolGroup
>
</
Tools
>
</
telerik:RadEditor
>