New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Modes

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

ToolBar related: RibbonBar related:
Default - the toolbar is static and positioned over the content areaeditor-defaulttoolbarmode RibbonBar - the ribbonbar is static and positioned over the content area editor-ribbonbarmode
PageTop - in this mode, when a particular editor gets the focus its toolbar will appear docked at the top of the page editor-pagetoptoolbarmode RibbonBarPageTop - in this mode, when a particular editor gets the focus its ribbonbar will appear docked at the top of the pageeditor-ribbonbarpagetopmode
ShowOnFocus - here the toolbar will appear right above the editor when it gets focuseditor-showonfocusmode RibbonBarShowOnFocus - here the ribbonbar will appear right above the editor when it gets focus.editor-ribbonbarshowonfocusmode
Floating - the toolbar will pop up in a window and will allow the user to move it over the pageeditor-floatingmode RibbonBarFloating - the ribbonbar will pop up in a window and will allow the user to move it over the pageeditor-ribbonbarfloatingmode

The ToolbarMode property is a EditorToolbarMode enumeration that can be set at runtime to:

  • Default
  • Floating
  • PageTop
  • ShowOnFocus
  • RibbonBar
  • RibbonBarFloating
  • RibbonBarPageTop
  • RibbonBarShowOnFocus
protected void Page_Load(object sender, EventArgs e)
{
    RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating;
}           
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
    RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating
End Sub

See Also

In this article