Export (0) Print
Expand All

Literal Web Server Control

The Literal control renders static text into a Web page without adding any HTML elements. You can manipulate the text programmatically with server code.

NoteNote

If you want to display static text, you can present it using HTML; you do not need a Literal control. Use a Literal control only if you need to change the contents in server code. 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.

The following topics provide information on working with the Literal Web server control.

In This Section

Related Sections

ASP.NET Web Server Controls Overview

Provides general information on working with ASP.NET Web server controls.

Individual ASP.NET Web Server Controls

Provides information on other Web server controls.

Label Web Server Control

Provides an overview of the Label server control.

Community Additions

ADD
Show:
© 2014 Microsoft