From 84cd815b93ddbb19c3f1314b7135b1c373ce421c Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 27 Mar 2006 04:33:13 +0000 Subject: Added TLiteral, TPlaceHolder demos. --- .gitattributes | 3 +++ demos/quickstart/protected/pages/Controls/Literal.page | 15 +++++++++++++++ .../quickstart/protected/pages/Controls/PlaceHolder.page | 6 ++++++ .../protected/pages/Controls/Samples/TLiteral/Home.page | 13 +++++++++++++ .../pages/Controls/Samples/TPlaceHolder/Home.page | 11 +++++++++++ .../pages/Controls/Samples/TPlaceHolder/Home.php | 16 ++++++++++++++++ demos/quickstart/protected/pages/Controls/Standard.page | 4 ++-- 7 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TLiteral/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php diff --git a/.gitattributes b/.gitattributes index bfe295c5..65ec8a99 100644 --- a/.gitattributes +++ b/.gitattributes @@ -200,9 +200,12 @@ demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.php -text demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.php -text +demos/quickstart/protected/pages/Controls/Samples/TLiteral/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.php -text demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif -text +demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.page -text +demos/quickstart/protected/pages/Controls/Samples/TPlaceHolder/Home.php -text demos/quickstart/protected/pages/Controls/Samples/TRadioButton/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TRadioButton/Home.php -text demos/quickstart/protected/pages/Controls/Samples/TRadioButtonList/Home.page -text 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 @@
+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. +
+ ++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). +
+ ++Be aware, if Encode is false, make sure Text does not contain unwanted characters that may bring security vulnerabilities. +
+ ++TPlaceHolder reserves a place on a template, where static texts or controls may be dynamically inserted. +
+ +
+
+
+This sample shows how to insert