summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-02 16:03:13 +0000
committerctrlaltca@gmail.com <>2011-06-02 16:03:13 +0000
commit6818eb71061580a636831b8e6c0ba8aca2c3420b (patch)
tree696ad78fbf4607f50b570e835e55859f3b3a5d04 /demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
parentffc9318788952a879815cfa01a8b17b7ddae89b1 (diff)
documentation galore: TCallbackClientSide, TCallbackOptions and TCallbackClientScript
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page30
1 files changed, 30 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page b/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
new file mode 100644
index 00000000..7ffd2db9
--- /dev/null
+++ b/demos/quickstart/protected/pages/ActiveControls/CallbackClientScript.page
@@ -0,0 +1,30 @@
+<com:TContent ID="body" >
+
+<h1>TCallbackClientScript</h1>
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallbackClientScript" />
+
+<p class="block-content">
+The <tt>TCallbackClientScript</tt> class provides corresponding methods that can be
+executed on the client-side (i.e. the browser client that is viewing
+the page) during a callback response.
+For a complete list of available client side methods, consult the
+<com:DocLink ClassPath="System.Web.UI.ActiveControls.TCallbackClientScript" />
+</p>
+
+<p class="block-content">
+The available methods includes setting/clicking input elements, changing Css
+styles, hiding/showing elements, and adding visual effects to elements on the
+page. The client-side methods can be access through the <tt>CallbackClient</tt>
+property available in <tt>TPage</tt>.
+</p>
+
+<p class="block-content">
+For example, to hide "$myTextBox" element during callback response, do:
+</p>
+<com:TTextHighlighter Language="prado" CssClass="source block-content">
+$this->getPage()->getCallbackClient()->hide($myTextBox);
+</com:TTextHighlighter>
+
+<com:RunBar PagePath="ActiveControls.Samples.TCallbackClientScript.Home" />
+
+<div class="last-modified">$Id: CallbackClientSide.page -1 $</div></com:TContent> \ No newline at end of file