diff options
author | wei <> | 2007-01-04 11:23:26 +0000 |
---|---|---|
committer | wei <> | 2007-01-04 11:23:26 +0000 |
commit | dd028bec3822d1d9c28c35d599d687e038c7705f (patch) | |
tree | f3d2fb7f95073ea481a4dec86f0f0d30c7fe3588 /tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page | |
parent | cac90ea6547fe194ab6ab101dfe11a0b751823ca (diff) |
Add chat demo and tutorial.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page b/tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page new file mode 100644 index 00000000..acf56bfe --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page @@ -0,0 +1,27 @@ +<com:TForm>
+
+<com:TCallback ID="callback1" OnCallback="method1" />
+
+ <com:TCallbackOptions ID="options1">
+ <prop:ClientSide.OnSuccess>
+ var link1 = Prado.CallbackRequest.getRequestById('<%= $this->link1->ClientID %>');
+ Prado.Callback('<%= $this->callback1->UniqueID %>', link1.getCallbackParameter());
+ </prop:ClientSide.OnSuccess>
+
+ </com:TCallbackOptions>
+
+
+ <com:TActiveLinkButton
+ ID="link1"
+ Text="Tab 1"
+ OnCallback="method2"
+ ActiveControl.CallbackParameter="test"
+ ActiveControl.CallbackOptions="options1"/>
+
+<com:TActiveLabel ID="status1" />
+
+<com:TActiveLabel ID="status2" />
+
+<com:TJavascriptLogger />
+
+</com:TForm>
\ No newline at end of file |