diff options
author | xue <> | 2006-03-27 04:33:13 +0000 |
---|---|---|
committer | xue <> | 2006-03-27 04:33:13 +0000 |
commit | 84cd815b93ddbb19c3f1314b7135b1c373ce421c (patch) | |
tree | 65b7931691e84e9a7e22f3fe0c0362d4f43cb31a /demos/quickstart/protected/pages/Controls/Literal.page | |
parent | 3192eb5cafef46ed5203a8cb2f7ae885e5693a47 (diff) |
Added TLiteral, TPlaceHolder demos.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Literal.page')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Literal.page | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Literal.page b/demos/quickstart/protected/pages/Controls/Literal.page index edf3bf09..d7b44aff 100644 --- a/demos/quickstart/protected/pages/Controls/Literal.page +++ b/demos/quickstart/protected/pages/Controls/Literal.page @@ -3,4 +3,19 @@ <h1>TLiteral</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TLiteral" />
+<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.
+</p>
+
+<p>
+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).
+</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>
+
+<com:RunBar PagePath="Controls.Samples.TLiteral.Home" />
+
</com:TContent>
\ No newline at end of file |