Populer Topics

LinkButton Control

The Link Button control link the button control it is enable to post from to the server. Unlike a button control the Link Button control render a link instead of a push button.This control use JavaScript to post the form back to the server.

The Hyperlink render by the Link Button control look like this.

 Submit

 

When is post the form to server when the form is posted the values of all the other form fields in the page are also posted to the server.

Link Button support the following properties.

Property Description
Text

Enable us to Set the text on the link button control.

TextAlign

Enable us to align the link button text.

CauseValidation

Specifies if a page is a validate when a link button control is click.

CommandArgument

Additional information about the command to perform.

CommandName

Command associated with the command event with specific name.

PostBackUrl

The Url of the page to post to the form the current page when the link button is click.