RadControls for ASP.NET AJAX
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.
CopyC#
protected void Page_Load(object sender, EventArgs e)
{
RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating;
}
CopyVB.NET
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
RadEditor1.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.Floating
End Sub
See Also