Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET LinkButton Text Property

ASP.NET LinkButton Text Property


LinkButton Control LinkButton control


Definition and Usage

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

**Note:** This control looks like a HyperLink control, but its function is the same as a Button control.

Syntax

/>

 

property Description
string A string value. Specifies the text on the LinkButton control.

Example

The following example sets the text on a LinkButton control:

Demo Example »


LinkButton Control LinkButton control