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

Color Picker

colorpicker