ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.ToolbarButton.CommandButton class

 Inheritance Hierarchy

It is a client-side representation of the server-side Obout.Ajax.UI.HTMLEditor.ToolbarButton.CommandButton class.

Button of this class sends a command to the server with asynchronous partial update of the EditPanel.

Note Note
To get property values for client API properties, you must call property accessor method that is named with the get_ prefix. For example, to get a value for a property such as id, you call the get_id method:
var _id = buttonObject.get_id();

Properties

Name Description
propertyactiveModes ActiveModeType array. Gets an array of edit modes when this button is visible. (Inherited from CommonButton.)
propertybuttonName string. Gets the name of the button. (Inherited from CommonButton.)
propertycommandArgument string. Gets or sets the argument for the command be sent to server.
propertycommandName string. Gets or sets the command name be sent to server.
propertyeditPanel object. Gets the EditPanel object currently associated with the button. (Inherited from CommonButton.)
propertyelement string. Gets the DOM element that the current Control instance is associated with. (Inherited from Sys.UI.Control.)
propertyid string. Gets the identifier for the current Control object. The default is the id value of the associated Sys.UI.DomElement object. (Inherited from Sys.UI.Control.)
propertypreservePlace boolean. Gets a value indicating whether to preserve buttons' space when it is invisible. (Inherited from CommonButton.)
Default false.
propertytoolTip string. Gets the tooltip of the button. (Inherited from CommonButton.)

Methods

Name Description
propertycallMethod() This method is called when the option of the 'select' DOM element is changed.
The method is called with one parameter: select - DOM 'select' element.
This method can be overridden in the derived class for the custom button. (Inherited from DesignModeImageButton.)

Returns true if this method has been executed successfully, otherwise false.

NoteNote
Don't call this method directly.
propertycanBeShown() Returns true if this button can be shown at this moment, otherwise false. (Inherited from CommonButton.)
propertycheckState() This method is called on each toolbar update (some operation is done, cursor moved, etc.).
This method can be overridden in the derived class for the custom toggle button.

NoteNote
Don't call this method directly.
propertyhideButton() Makes the button invisible. (Inherited from CommonButton.)
propertyisDisplayed() Returns true if this button is visible now, otherwise false. (Inherited from CommonButton.)
propertyisImage() Returns true if this button is an 'image' button, otherwise false. (Inherited from CommonButton.)
Always returns false here.
propertyshowButton() Makes the button visible. (Inherited from CommonButton.)

"You have most wonderful .NET components. The ease of use is just amazing."

Krishna Reddy
Crop Management Specialist/MIS, Blooming Nursery, Inc.

Random testimonial   All testimonials