What is an Literal Control.

Platform: ASP.NET|Category: Basic

The Literal control is similar to the Label control, except the Literal control does not enable you to apply a style to the displayed text..

<div>
	<asp:Literal ID='Literal1' runat='server'></asp:Literal>
</div>

protected void Page_Load(object sender, EventArgs e)
{
	Literal1.Text = 'LiteralTextDemo';
}

**Now the Resultant text will be in the format: **LiteralTextDemo****