Thursday, October 7, 2010

ASP Literal Control

This control is used to display some text on web page. Same as label control but only difference between these two controls is style property. It won’t allow keeping any styles to the control.

A typical Literal control is written to the page in the following manner.

<asp:Literal ID="Literal1" Text="Hello World!" runat="server"></asp:Literal>

Thanks
Emmaneale Mendu
Web Developer

No comments:

Post a Comment