IButtonControl Members

Defines properties and events that must be implemented to allow a control to act like a button on a Web page.

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

  Name Description
Public property CausesValidation Gets or sets a value indicating whether clicking the button causes page validation to occur.
Public property CommandArgument Gets or sets an optional argument that is propagated to the Command event.
Public property CommandName Gets or sets the command name that is propagated to the Command event.
Public property PostBackUrl Gets or sets the URL of the Web page to post to from the current page when the button control is clicked.
Public property Text Gets or sets the text caption displayed for the button.
Public property ValidationGroup Gets or sets the name for the group of controls for which the button control causes validation when it posts back to the server.
Top

  Name Description
Public event Click Occurs when the button control is clicked.
Public event Command Occurs when the button control is clicked.
Top

Community Additions

ADD
Show: