HTML Editor for ASP.NET AJAX
Toolbars Property
Server ReferenceWinthusiasm.HtmlEditorHtmlEditorToolbars
The definition of the toolbars.
Declaration Syntax
C#
public string Toolbars { get; set; }
Remarks
This string defines the elements displayed in each toolbar, in which toolstrip, in what order, etc.

  • Each toolbar element has a type and name
  • Buttons are the default type, so only their name is required
  • Multiple toolbars can be defined
  • Related toolbar elements may be grouped into toolstrips
  • Separator bars can be added to group related elements within a toolstrip
  • To have no toolbars, set the property to an empty string

The internally supported element names are:

Standard ButtonsSave, New, Print, Bold, Italic, Underline, Left, Center, Right, Justify, OrderedList, BulletedList, Rule, Indent, Outdent, Subscript, Superscript, StrikeThrough, Emotions, Link, Unlink, Image, Symbol, ForeColor, BackColor, Table, RemoveFormat
Optional ButtonsDesign, Html, View
Select ListsFormat, Font, Size

The following delimiters are used in the definition:

;Semi-colon ends a toolbar (not required for last toolbar)
:Colon ends a toolstrip (not required for last toolstrip in a toolbar)
,Comma separates toolbar elements
|Vertical bar defines a separator
#Pound sign separates an element type from its name
Examples
Set the property declaratively in the HtmlEditor tag:
CopyC#
Toolbars = "Bold,Italic,Underline:Link,Unlink;Save,New,Print:OrderedList,BulletedList"

Assembly: Winthusiasm.HtmlEditor (Module: Winthusiasm.HtmlEditor) Version: 2.3.0.0 (2.3.0.0)