The Literal control is used to display text on a page. The text is programmable. This control does not let you apply styles to its content!
| Property | Description |
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. |
| BindingContainer | The control that contains this control's data binding. |
| ClientID | The server control id created by ASP.NET. |
| Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. |
| NamingContainer | A reference to the server control's naming container. |
| TemplateControl | A reference to the template that contains the current control. |
| TemplateSourceDirectory | The virtual directory of the page/control that contains the current control. |
| EnableViewState | A value indicating whether or not the control persists its view state, and the view state of any child controls it contains, to the requesting client. |
| ID | The id assigned to the control. |
| Page | A reference to the page that contains the control. |
| UniqueID | The unique id for the server control (Get value only). |
| Parent | A reference to the control's parent. |
| Site | Information about the container of the current control (Get value only). |
| Visible | A value indicating whether a control is rendered as UI. |
| EnableTheming | A value indicating whether or not themes apply to the control. |
| runat | Specifies that the control is a server control. Must be set to "server" |
| Text | Specifies the text to display. |
No comments:
Post a Comment