ASP.NET 3.5 and above only
Obout.Ajax.UI Controls - HTML Editor - Server side
Obout.Ajax.UI.HTMLEditor.EditorTopToolbar class
Inheritance Hierarchy
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor" TagPrefix="obout" %>
The top toolbar that is used in the
Editor control.
It also can be used as a separate control, see
online example.
Public properties
| Name |
Description |
AdditionalCSS
|
String sealed. Gets or sets the semicolon separated URL's of additioanal CSS files that should be added to the EditPanel control.
(Inherited from Toolbar.)
Always String.Empty here.
|
AddButtons
|
Collection<ToolbarButton.CommonButton>.
Gets the toolbar's buttons added by user.
(Inherited from Toolbar.)
Default empty.
|
Appearance
|
Obout.Ajax.UI.HTMLEditor.EditorTopToolbar.AppearanceType enumeration.
Toolbar buttons set type. All possible values of the property:
- Full - Full buttons set
- Lite - Lite buttons set
- Custom - Custom buttons set
Default Full.
See online example.
|
ButtonsTemplate
|
String. Gets or sets the file name of the template with the predefined buttons.
(Inherited from Toolbar.)
All buttons described in this template will be used as predefined buttons.
Example:
ButtonsTemplate="~/App_Obout/HTMLEditor/XML/ButtonsSet1.xml"
If the file extension is absent then .xml extension will be used by default.
Example:
ButtonsTemplate="~/App_Obout/HTMLEditor/XML/ButtonsSet1"
Also you can use the file name only without path prefix.
In this case the value of the TemplatesFolder
property will be used as the path prefix (default "~/App_Obout/HTMLEditor/XML/").
Example:
ButtonsTemplate="ButtonsSet1"
Example of the template XML file:
<PredefinedButtons>
<!-- Predefinded buttons for the toolbar -->
<button name="ButtonsGroup" ><collection name="Buttons">
<button name="Bold" />
<button name="Italic" />
<button name="HorizontalSeparator" />
</collection></button>
<button name="ButtonsGroup" ><collection name="Buttons">
<button name="Undo" />
<button name="Redo" />
<button name="HorizontalSeparator" />
</collection></button>
<button name="SpellCheck" />
<button name="HorizontalSeparator" />
<button name="CustomToolbarButton.InsertDate" />
<button name="TextIndicator" /> </PredefinedButtons>
|
ClientID
|
String. Gets the server control identifier generated by ASP.NET.
(Inherited from Control.)
|
CssClass
|
String. Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
(Inherited from WebControl.)
See online example.
|
EditPredefinedButtons
|
Collection<ToolbarButton.CommonButton>.
Gets the buttons to be edited in the predefined buttons set.
Default empty.
See online example.
|
ID
|
String. Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.)
|
IgnoreTab
|
Bool. Gets or sets a value indicating whether to ignore the default 'Tab' key navigation
for all buttons (tabIndex = -1).
(Inherited from Toolbar.)
Default false.
|
IgnoreVerticalSeparators
|
Bool. Gets or sets a value indicating whether to ignore vertical separators.
(Inherited from Toolbar.)
Default false.
|
PopupHolderID
|
String. Gets or sets the associated Popup Holder ID.
(Inherited from Toolbar.)
See online example.
|
PreservePlace
|
Bool. Gets or sets a value indicating whether to preserve buttons' space when invisible.
(Inherited from Toolbar.)
Default false.
See online example.
|
RemovePredefinedButtons
|
Collection<ToolbarButton.CommonButton>.
Gets the buttons to be removed from the predefined buttons set.
Default empty.
See online example.
|
StyleFile
|
String. Gets or sets a style file path.
(Inherited from Toolbar.)
Example:
myToolbar.StyleFile = "~/GlobalStyles/MyToolbar.css"
|
TemplatesFolder
|
String. Gets or sets the Url of the default templates folder.
(Inherited from Toolbar.)
Default "~/App_Obout/HTMLEditor/XML/"
|
Public methods
Protected properties
obout.com
Obout.Ajax.UI controls
TreeView - 43
HTML Editor - 274
File Upload - 19
Color Picker - 17
Spell Checker - 16
Poll - 26
Captcha - 15
File Manager - 8