ASP.NET 3.5 and above only
Obout.Ajax.UI Controls - HTML Editor - Server side
Obout.Ajax.UI.HTMLEditor.ToolbarButton.OpenPopupButton abstract class
Inheritance Hierarchy
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor.ToolbarButton" TagPrefix="obout" %>
Base class for method buttons that are shown in design mode and open popups .
Public properties
| Name |
Description |
ActiveModes
|
Collection<ActiveModeType> sealed overridden.
Gets the collection of edit modes when this button is visible in toolbar.
(Inherited from CommonButton.)
Here the collection always contains one item:
|
ClientID
|
String. Gets the server control identifier generated by ASP.NET.
(Inherited from Control.)
|
CssClass
|
String overridable. Gets the CSS class for the button.
(Inherited from WebControl.)
Default "ajax__htmleditor_toolbar_button".
|
DefaultToolTip
|
String overridable. Gets the default tooltip when not found in Localization file.
(Inherited from CommonButton.)
Default String.Empty .
|
ID
|
String. Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.)
|
RelatedPopup
|
Popups.Popup overridable.
Gets or sets(protected) the associated popup.
|
RelatedPopupType
|
String.
Gets or sets the Assembly-qualified name of the associated popup's type.
Default String.Empty .
See online example.
|
Protected properties
| Name |
Description |
ButtonImagesFolder
|
String overridable. Gets the buttons images folder.
If empty then the embedded images are in use.
(Inherited from ImageButton.)
Default String.Empty .
|
BaseImageExtension
|
String overridable. Gets the base image extension for the button.
(Inherited from ImageButton.)
Default "gif".
|
BaseImageName
|
String overridable. Gets the base image name for the button.
(Inherited from ImageButton.)
Example:
The following images must exist in case of the base image name "ed_date":
ed_date_n.gif - normal button's image;
ed_date_a.gif - image when the button is pressed or active.
|
ClientControlType
|
String overridable. Gets the script type to use for the Control.
(Inherited from CommonButton.)
|
IsStatus
|
Bool overridable. Gets a value indicating whether the button's state is checked on every parent toolbar update.
(Inherited from CommonButton.)
Default false.
|
ScriptPath
|
String overridable. Gets the path of the script file where the associated script type is defined.
(Inherited from CommonButton.)
|
Example of custom popup button
[
ParseChildren(
true)]
[
PersistChildren(
false)]
[
RequiredScript(
typeof(
OpenPopupButton))]
[
ButtonsList(
true)]
public class InsertIcon :
OpenPopupButton
{
public override Popups.
Popup RelatedPopup
{
get
{
if (
base.RelatedPopup ==
null)
{
base.RelatedPopup =
new CustomPopups.
InsertIconPopup();
}
return base.RelatedPopup;
}
}
protected override string ButtonImagesFolder
{
get {
return "~/App_Obout/HTMLEditor/customButtons/"; }
}
public override string DefaultToolTip
{
get {
return "Insert predefined icon"; }
}
protected override string BaseImageName
{
get {
return "ed_insertIcon"; }
}
}
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