ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - HTML Editor - Server side

Obout.Ajax.UI.HTMLEditor.EditorBottomToolbar class

 Inheritance Hierarchy

<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor" TagPrefix="obout" %>

The bottom toolbar that is used in the Editor control.
It also can be used as a separate control, see online example.

Public properties

Name Description
propertyAdditionalCSS 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.
propertyAddButtons Collection<ToolbarButton.CommonButton>. Gets the toolbar's buttons added by user. (Inherited from Toolbar.)
Default empty.
propertyButtonsTemplate 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/MyBottomButtons.xml"

If the file extension is absent then .xml extension will be used by default.

Example:
ButtonsTemplate="~/App_Obout/HTMLEditor/XML/MyBottomButtons"

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="MyBottomButtons"

Example of the template XML file:

<PredefinedButtons>

<button name="DesignMode" />

<button name="PreviewMode" />

<button name="FullScreen" />

</PredefinedButtons>
propertyClientID String. Gets the server control identifier generated by ASP.NET. (Inherited from Control.)
propertyCssClass String. Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from WebControl.)
propertyID String. Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.)
propertyIgnoreTab 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.
propertyIgnoreVerticalSeparators Bool. Gets or sets a value indicating whether to ignore vertical separators. (Inherited from Toolbar.)
Default false.
propertyPopupHolderID String. Gets or sets the associated Popup Holder ID. (Inherited from Toolbar.)

See online example.
propertyPreservePlace Bool. Gets or sets a value indicating whether to preserve buttons' space when invisible. (Inherited from Toolbar.)
Default false.

See online example.
propertyShowCancelButton Bool. Gets or sets a value indicating whether to show the 'Cancel' button in the toolbar.
Default false.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowDesignButton Bool. Gets or sets a value indicating whether to show the 'Design mode' button in the toolbar.
Default true.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowFullScreenButton Bool. Gets or sets a value indicating whether to show the 'Full screen' button in the toolbar.
Default false.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowHtmlTextButton Bool. Gets or sets a value indicating whether to show the 'HTML text' button in the toolbar.
Default true.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowHtmlTextCounter Bool. Gets or sets a value indicating whether to show the 'HTML text' characters counter in the toolbar.
Default false.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowPlainTextCounter Bool. Gets or sets a value indicating whether to show the 'Plain text' characters counter in the toolbar.
Default false.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowPreviewButton Bool. Gets or sets a value indicating whether to show the 'Preview' button in the toolbar.
Default true.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyShowSubmitButton Bool. Gets or sets a value indicating whether to show the 'Submit' button in the toolbar.
Default false.

See online example.

Note Note
The property is ignored if the ButtonsTemplate property is set.
propertyStyleFile String. Gets or sets a style file path. (Inherited from Toolbar.)

Example:
myToolbar.StyleFile = "~/GlobalStyles/MyToolbar.css"
propertyTemplatesFolder String. Gets or sets the Url of the default templates folder. (Inherited from Toolbar.)
Default "~/App_Obout/HTMLEditor/XML/"

Public methods

Name Description
property Collection<ToolbarButton.CommonButton> GetButtonsByType(Type type) Gets a collection of buttons in this toolbar with the specified type. (Inherited from Toolbar.)

See online example.

Protected properties

Name Description
propertyPopupHolder Obout.Ajax.UI.HTMLEditor.PopupHolder overridable. Gets or sets the associated Popup Holder control.
propertyPredefinedButtons Collection<ToolbarButton.CommonButton>. Gets the toolbar's predefined buttons. (Inherited from Toolbar.)
This collection dependes on values of the ShowDesignButton, ShowHtmlTextButton, ShowPreviewButton and ShowFullScreenButton properties.

"Great feature the window manager is!!"

Mark W.Butler

Random testimonial   All testimonials