New to Telerik UI for ASP.NET AJAXStart a 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-defaulttoolbarmodeRibbonBar - 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-pagetoptoolbarmodeRibbonBarPageTop - 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-showonfocusmodeRibbonBarShowOnFocus - 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-floatingmodeRibbonBarFloating - 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
C#
protected void Page_Load(object sender, EventArgs e)
{
	RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating;
} 			

See Also

In this article
See Also
Not finding the help you need?
Contact Support