|
A Literal control is used to display text. The developer cannot apply a style to a literal control. This control act as a pass-through content to the adapter, so it enable developer to display ML specific content by using property overrides.
Simple Literal control
The following example demonstrates how to use the Literal control to display static text.
VB Literal1.aspx
Encode Literal control
The setting the Mode property to Encode will encode the content of the Text property.
VB Literal2.aspx
|