Literal

 Rate It (0)

A Literal control is used to display text. You cannot apply a style to a literal control. This control will pass the content directly to the client browser, unless you use the Mode property to encode the content. 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.

Revision number 2, Monday, February 25, 2008 12:06:35 AM by mbanavige

Comments

Related Articles

Localize

The Localize Control lets you localize any element on an .aspx page. It provides a design time feature not offered by its base class, the Literal control; in particular, the Localize control provides design time editing of static content so you can see a default

Label

A Label control allows you to add text to your web page. Unlike a Literal control, a Label control supports various properties such as CssClass, ForeColor and Fontthat allow you to style the text that will be rendered. To provide the ability to style the rendered

Web Controls

Web controls are ASP.NET controls which are understood and compiled on the server and render as HTML markup on the page. Most of the web server controls render their own HTML controls (or many HTML controls). The markup that is output froma web control can

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. tmorton (6)
  2. vik20000in (2)
  3. sambeetpatra (1)
  4. mbanavige (1)
  5. Jos Branders (1)
  6. anonymouswrites (1)

Advertise Here

Microsoft Communities
Page view counter