ASP.NET Pack Programmer's Guide
Button Members
Constructors Fields Methods
 


Represents a customizable button.

The following tables list the members exposed by the Button type.

 Public Constructors

  Name Description

Button

Initializes a new instance of the Button class.

 Public Fields

  Name Description

Dom

An object, which keeps references to various DOM elements, part of the control's structure

 Public Methods

  Name Description

dispose

Sys.UI.Control.dispose override.

get_activeImageUrl

Gets the URL of the image to be displayed by the control when it is hovered.

get_causesValidation

Gets a value indicating whether validation is performed when the control is clicked.

get_displayType

Gets the display type of the control.

get_enabled

Gets a value indicating whether the control is enabled.

get_imageUrl

Gets the URL of the image to be displayed by the control.

get_postBackUrl

Gets the URL to post to when the button is clicked.

get_text

Gets the text of the control.

get_useSubmitBehavior

Gets a value indicating whether the control renders as a submit button.

get_validationGroup

Gets the group of controls for which the control causes validation.

initialize

Sys.UI.Control.initialize override.

postback

Initiates a postback.

preparePostback

Prepares the control for a subsequent postback.

set_causesValidation

Sets a value indicating whether validation is performed when the control is clicked.

set_enabled

Sets a value indicating whether the control is enabled.

set_postBackUrl

Sets the URL to post to when the button is clicked.

set_text

Sets the text of the control.

set_validationGroup

Sets the group of controls for which the control causes validation.

 See Also

Button Class
MindFusion.UI.WebForms Namespace