From 3a30ede1c03fdd097398b14734822f7ce8e46b6b Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 17 Jun 2006 10:28:26 +0000 Subject: Update TAutoComplete, OnSuggest event for getting suggestions. --- .../protected/pages/ActiveButtonTest.page | 2 ++ .../protected/pages/ActiveTextBoxCallback.page | 1 + .../protected/pages/AutoCompleteTest.page | 28 ++++++++++++++++++++-- .../protected/pages/AutoCompleteTest.php | 8 ++++++- 4 files changed, 36 insertions(+), 3 deletions(-) (limited to 'tests/FunctionalTests/active-controls/protected') diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.page index 5c2d1abb..8eff7105 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.page @@ -1,4 +1,5 @@ +

TActiveButton Functional Test

@@ -6,4 +7,5 @@ +
\ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveTextBoxCallback.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveTextBoxCallback.page index d0a750ac..b05ce62e 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveTextBoxCallback.page +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveTextBoxCallback.page @@ -2,4 +2,5 @@

ActiveTextBox Callback Test

+ \ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page index 93658bd7..b7429c60 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page @@ -15,6 +15,11 @@ font-family: Tahoma, Arial, Helvetica, sans-serif; color: #333; } + + ul.different + { + background-color: pink; + } .autocomplete li { @@ -27,14 +32,33 @@ } -

TAutoComplete Test

+

TAutoComplete Test

+
Manual Testing Required
+ + +
    + + + + +


    +




    diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php index 938b8640..df314891 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php @@ -9,7 +9,13 @@ class AutoCompleteTest extends TPage { $sender->setDataSource($this->matchCountries($param->getParameter())); $sender->dataBind(); - $sender->render($param->getOutput()); + $sender->flush($param->getOutput()); + $this->label1->Text = "suggestion for ".$param->getParameter(); + } + + public function callback_requested($sender, $param) + { + $this->label1->Text = "Label 1: ".$this->textbox3->Text; } protected function matchCountries($token) -- cgit v1.2.3