JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the Literal Class

You use the Literal class to insert literal text, often HTML, into a Web form. Here is the hierarchy of this class:

Object
   Control
      Literal

This class's only notable property is the Text property, with which you assign the text you want to insert into a Web form's HTML—it has no methods or events that are not inherited from the WebControl class. Note that as with other Web server controls, I am not listing the notable properties, methods, and events this class inherits from the Control and WebControl classes—you can find them in Tables 15.1 to 15.5.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor