Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LinkButton control

The LinkButton control renders as a hyperlink in the page. However, it contains client-side script that causes the form to be posted back to the server. (You can create a true hyperlink by using the Hyperlink control.)

  1. Drag the LinkButton control from the Toolbox panel to your page.

  2. Set properties for the control in the Tag Properties panel.

Common LinkButton Properties




The text that the user sees, styled as a hyperlink.


By default, when a user clicks a LinkButton, the form is posted back to the server where the server code written for the page runs. You can change the PostbackURL property to have the form post to another URL, though.


The text that is displayed when the mouse pointer is over the control.

For a full description of all LinkButton control properties, see LinkButton Properties in the MSDN library.

Community Additions

© 2015 Microsoft