diff options
author | xue <> | 2006-04-26 21:15:34 +0000 |
---|---|---|
committer | xue <> | 2006-04-26 21:15:34 +0000 |
commit | f4437c190074be283d9297f8e2ad54bbb055bf2d (patch) | |
tree | 391812d18afb67918303d5f0b4e22bf4e77a6449 /demos/quickstart/protected/pages/Controls/Literal.page | |
parent | 8b0c8f0d0557d8ab88409cd9691cd1ee279321d5 (diff) |
TLiteral will display body content if Text is empty.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Literal.page')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Literal.page | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Literal.page b/demos/quickstart/protected/pages/Controls/Literal.page index d7b44aff..30a84880 100644 --- a/demos/quickstart/protected/pages/Controls/Literal.page +++ b/demos/quickstart/protected/pages/Controls/Literal.page @@ -5,7 +5,7 @@ <p>
<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>
- * control does not allow child controls and has no style properties, such as <tt>BackColor</tt>, <tt>Font</tt>, etc.
+ * control has no style properties, such as <tt>BackColor</tt>, <tt>Font</tt>, etc.
</p>
<p>
@@ -13,6 +13,10 @@ The text displayed by <tt>TLiteral</tt> can be programmatically controlled by se </p>
<p>
+<tt>TLiteral</tt> will render the contents enclosed within its component tag if <tt>Text</tt> is empty.
+</p>
+
+<p>
Be aware, if <tt>Encode</tt> is false, make sure <tt>Text</tt> does not contain unwanted characters that may bring security vulnerabilities.
</p>
|