New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
RadLabel Object
For a detailed list with the server-side properties and methods of the control, see the Server-Side API of the RadLabel class.
You can find below the most popular properties:
Name | Parameter | Description |
---|---|---|
AssociatedControlID | string | The ID of the associated server-side control |
Text | string | The text that will be displayed in the Label |
HtmlEncode | bool | Defines if the content in the Text property will be encoded. Default value is false |
RequiredMark | string | Symbol(s) representing that the field is required |
OptionalMark | string | Symbol(s) representing that the field is optional |
MarkDisplayMode | Enumeration | Defines if the Label should show the OptionalMark or RequiredMark. Available values are: None, Optional, Required |