summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page12
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php5
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
index cf43dea6..14f74013 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
@@ -59,6 +59,18 @@
<com:TActiveLabel ID="status" Text="Status:" />
+
+ <com:TInPlaceTextBox
+ id="lblNewPackageTitle"
+ OnTextChanged="NewPackageSubject"
+ CssClass="textbox"
+ Text="عنوان باکس ...">
+ <prop:ClientSide
+ OnFailure="alert(10)"/>
+ </com:TInPlaceTextBox>
+
+ <com:TActiveButton Text="ad" OnCallback="NewPackageSubject" ClientSide.OnFailure="alert(10)"/>
+
<com:TJavascriptLogger />
</com:TForm> \ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php
index 5607dea8..9b5a05f7 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php
@@ -16,6 +16,11 @@ class TInPlaceTextBoxTest extends TPage
{
$this->label1->Text = "hahahaha";
}
+
+ function NewPackageSubject($sender, $param)
+ {
+ throw new TException('Exist');
+ }
}
?> \ No newline at end of file