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
You must Login to comment.
New
Thu, Mar 6, 2008 11:36 AM
by
|
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
|
Revision #3
Mon, Feb 16, 2009 8:00 AM
by
|
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. The Label control can also add html tags
|
Revision #2
Sat, Oct 30, 2010 2:52 PM
by
|
Fetch data from the database and place it in a marquee
1. First we should take the marquee tag in the source of our web form(Page.aspx) page like this:->marquee direction=”up” onmouseover=”this.start()” onmouseout=”this.stop()”scrolldelay=”300″ style=”height: 213px”>asp:Literal ID=”lt1″ runat=”server”>
|