RadControls for ASP.NET AJAX
The RadEditor Toolbar position can be changed by using the DockingZone attribute which can have the following values:
Left
Right
Top
Bottom
Module
The id of outer html element
Here is an example how to:
Set Toolbar position in the RadEditor declaration:
CopyXML
<tools>
<telerik:EditorToolGroup DockingZone="Left">
<telerik:EditorTool Name="AjaxSpellCheck" />
.................
</telerik:EditorToolGroup>
</tools>Set Toolbar position in the ToolsFile
CopyXML
<tools enabled="true" dockingzone="Bottom">
<tool name="Bold" />
.....................
</tools>Set the tools programmatically in the codebehind:
CopyC#
EditorToolGroup toolgroupLeft = new EditorToolGroup();
toolgroupLeft.Attributes["DockingZone"] = "Left";
editor.Tools.Add(toolgroupLeft);
toolgroupLeft.Tools.Add(new EditorTool("Bold"));
CopyVB.NET
Dim toolgroupLeft As New EditorToolGroup()
toolgroupLeft.Attributes("DockingZone") = "Left"
editor.Tools.Add(toolgroupLeft)
toolgroupLeft.Tools.Add(New EditorTool("Bold"))