From 8ab196ce6c2d5de323bdd8ebcc11a73814c0cdca Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 26 Apr 2006 21:18:01 +0000 Subject: Merge from 3.0 branch till 971. --- demos/quickstart/protected/pages/Controls/Literal.page | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/Controls/Literal.page') 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,13 +5,17 @@

TLiteral displays a static text on a Web page. TLiteral is similar to the TLabel control, except that the TLiteral - * control does not allow child controls and has no style properties, such as BackColor, Font, etc. + * control has no style properties, such as BackColor, Font, etc.

The text displayed by TLiteral can be programmatically controlled by setting the Text property. The text displayed may be HTML-encoded if the Encode is true (the default value is false).

+

+TLiteral will render the contents enclosed within its component tag if Text is empty. +

+

Be aware, if Encode is false, make sure Text does not contain unwanted characters that may bring security vulnerabilities.

-- cgit v1.2.3