X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP.NET Text Property


LinkButton Control Reference Complete LinkButton Control Reference

Definition and Usage

The Text property is used to set or return the text on a LinkButton control.

Note: This control looks like a HyperLink control but has the same functionality as the Button control.

Syntax

<asp:LinkButton Text="string" runat="server" />
 
Attribute Description
string A string that specifies the text on the LinkButton control


Example

The following example sets the text on a LinkButton control:

<form runat="server">
<asp:LinkButton id="lbt1" runat="server" Text="Submit" />
</form>

Show example »

LinkButton Control Reference Complete LinkButton Control Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook