RadEditor for ASP.NET AJAX

RadControls Send comments on this topic.
Toolbar Modes
See Also
Controls > RadEditor > Toolbar Modes

Glossary Item Box

 

RadEditor for ASP.NET AJAX introduces a property named ToolbarMode, which specifies the behavior of the toolbar. Here are the different options for setting the ToolbarMode:

  • Default - the toolbar is static and positioned over the content area



  • PageTop - in this mode, when a particular editor gets the focus its toolbar will appear docked at the top of the page




  • ShowOnFocus - here the toolbar will appear right above the editor when it gets focus.




  • Floating - the toolbar will pop up in a window and will allow the user to move it over the page



The ToolbarMode property is a EditorToolbarMode enumeration that can be set at runtime to Default, Floating, PageTop or ShowOnFocus.

[C#] Setting ToolbarMode Copy Code
protected void Page_Load(object sender, EventArgs e)
{
   RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating;
}
[VB] Setting ToolbarMode Copy Code
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
 RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating
End Sub

See Also