From 3b862bfb3e8e89a61c1219038cc1b5979271196e Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 10 Jan 2014 17:31:59 +0100 Subject: Added quickstart demo for TRatingList --- .../quickstart/protected/pages/Controls/List.page | 2 + .../pages/Controls/Samples/TRatingList/Home.page | 71 ++++++++++++++++++++++ .../pages/Controls/Samples/TRatingList/Home.php | 9 +++ 3 files changed, 82 insertions(+) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.php (limited to 'demos/quickstart/protected/pages/Controls') diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page index ae8d86bf..5e78bb13 100755 --- a/demos/quickstart/protected/pages/Controls/List.page +++ b/demos/quickstart/protected/pages/Controls/List.page @@ -108,4 +108,6 @@ Since v3.1.1, TDropDownList starts to support prompt text (something li This is an EXPERIMENTAL class that displays clickable images that represent a TRadioButtonList.

+ + diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.page new file mode 100644 index 00000000..5790f840 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.page @@ -0,0 +1,71 @@ + +

TRatingList Samples

+ + + + + + + + + + + +
+A simple TRatingList and its caption: + + + + + + + + + + +
+TRatingList in vertical mode, SelectedIndex=2 + + + + + + + + + + + + +
+TRatingList with RatingStyle=blocks, AutoPostback=true, SelectedValue=Good + + + + + + + + + + + +
+A label to check postback results: + +
+TRatingList with AllowInput=false, Rating=4.6 + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.php new file mode 100644 index 00000000..5e8ed1bd --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TRatingList/Home.php @@ -0,0 +1,9 @@ +labelResult3->Text=$this->Rating3->SelectedValue; + } +} \ No newline at end of file -- cgit v1.2.3