System.Web.UI.WebControls.LinkButton: Property Members

The properties of System.Web.UI.WebControls.LinkButton are listed below. For a list of all members, see the LinkButton Members list.

See Also: Inherited members from System.Web.UI.WebControls.WebControl

Public Properties

CausesValidationbool.

Gets or sets a value indicating whether validation is performed when the System.Web.UI.WebControls.LinkButton control is clicked.

CommandArgumentstring.

Gets or sets an optional argument passed to the LinkButton.Command event handler along with the associated LinkButton.CommandName property.

CommandNamestring.

Gets or sets the command name associated with the System.Web.UI.WebControls.LinkButton control. This value is passed to the LinkButton.Command event handler along with the LinkButton.CommandArgument property.

OnClientClickstring.

Gets or sets the client-side script that executes when a System.Web.UI.WebControls.LinkButton control's LinkButton.Click event is raised

PostBackUrlstring.

Gets or sets the URL of the page to post to from the current page when the System.Web.UI.WebControls.LinkButton control is clicked.

Textstring.

Gets or sets the text caption displayed on the System.Web.UI.WebControls.LinkButton control.

ValidationGroupstring.

Gets or sets the group of controls for which the System.Web.UI.WebControls.LinkButton control causes validation when it posts back to the server.