What is Literal ?  

Posted by: Quadtechindia in

A Literal Web Server control doesn't have any visual appearance on a Web Form but is used to insert literal text into a Web Form. This control makes it possible to add HTML code directly in the code designer window without switching to design view and clicking the HTML button to edit the HTML.
The notable property of this control is the text property which is the text that is inserted into the Web Form.


The following line of code demonstrates that.

Literal1.Text = "Literal Demo"

This entry was posted on Tuesday, January 19, 2010 and is filed under . You can leave a response and follow any responses to this entry through the Subscribe to: Post Comments (Atom) .


Post a Comment