Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<com:TContent ID="body" >
2
 
3
<h1 id="3701">TLiteral</h1>
4
<com:DocLink ClassPath="System.Web.UI.WebControls.TLiteral" />
5
 
6
<p id="420283" class="block-content">
7
<tt>TLiteral</tt> displays a static text on a Web page. <tt>TLiteral</tt> is similar to the <tt>TLabel</tt> control, except that the <tt>TLiteral</tt>
8
 * control has no style properties, such as <tt>BackColor</tt>, <tt>Font</tt>, etc.
9
</p>
10
 
11
<p id="420284" class="block-content">
12
The text displayed by <tt>TLiteral</tt> can be programmatically controlled by setting the <tt>Text</tt> property. The text displayed may be HTML-encoded if the <tt>Encode</tt> is true (the default value is false).
13
</p>
14
 
15
<p id="420285" class="block-content">
16
<tt>TLiteral</tt> will render the contents enclosed within its component tag if <tt>Text</tt> is empty.
17
</p>
18
 
19
<p id="420286" class="block-content">
20
Be aware, if <tt>Encode</tt> is false, make sure <tt>Text</tt> does not contain unwanted characters that may bring security vulnerabilities.
21
</p>
22
 
23
<com:RunBar PagePath="Controls.Samples.TLiteral.Home" />
24
 
25
<div class="last-modified">$Id: Literal.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>