From 36f2ce766bde98c11d57b889fd9e1a7f8dff6010 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 1 Oct 2006 03:09:18 +0000 Subject: Fixed #350 and #148, Add TActiveRatingList, should remove TRatingList from WebControls. --- .../protected/pages/RatingList.page | 72 ++++++++++++++++++++++ .../active-controls/protected/pages/RatingList.php | 22 +++++++ 2 files changed, 94 insertions(+) create mode 100644 tests/FunctionalTests/active-controls/protected/pages/RatingList.page create mode 100644 tests/FunctionalTests/active-controls/protected/pages/RatingList.php (limited to 'tests/FunctionalTests/active-controls') diff --git a/tests/FunctionalTests/active-controls/protected/pages/RatingList.page b/tests/FunctionalTests/active-controls/protected/pages/RatingList.page new file mode 100644 index 00000000..190e6020 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/RatingList.page @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/RatingList.php b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php new file mode 100644 index 00000000..d31b6166 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php @@ -0,0 +1,22 @@ +Enabled=false; + } + + function button1_clicked($sender, $param) + { + $this->list1->Enabled = true; + } + + function button2_clicked($sender, $param) + { + $this->list1->SelectedIndex=3; + $this->list1->Enabled=false; + } +} + +?> \ No newline at end of file -- cgit v1.2.3