Easy Tutorial
❮ Prop Webcontrol Standard Enabled Prop Webcontrol Panel Scrollbars ❯

ASP.NET Literal Control



Definition and Usage

The Literal control is used to display text on the page. This text is programmable.

Note: This control does not allow you to apply styles to its content!


Properties

Property Description .NET
Mode 2.0
runat Specifies that the control is a server control. Must be set to "server". 1.0
Text Specifies the text to be displayed. 1.0

Control Standard Properties

For a complete description, visit Control Standard Properties.


Examples

Literal

Literal 2


❮ Prop Webcontrol Standard Enabled Prop Webcontrol Panel Scrollbars ❯