summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Button.page
diff options
context:
space:
mode:
authorxue <>2006-03-23 13:25:09 +0000
committerxue <>2006-03-23 13:25:09 +0000
commit29d40192ed3dc0085b5e513ec071c81e03e95d3b (patch)
tree87e228522e19c93f7d9d9cda6109bc4d6421072d /demos/quickstart/protected/pages/Controls/Button.page
parent502ef5c173b2ca1220725d9814022102ea5dd749 (diff)
Reorganized quickstart tutorial.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Button.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/Button.page16
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Button.page b/demos/quickstart/protected/pages/Controls/Button.page
new file mode 100644
index 00000000..e58571d3
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Button.page
@@ -0,0 +1,16 @@
+<com:TContent ID="body" >
+
+<h1>TButton</h1>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TButton" />
+
+<p>
+<tt>TButton</tt> creates a click button on a Web page. The button's caption is specified by <tt>Text</tt> property. A button is used to submit data to a page. <tt>TButton</tt> raises two server-side events, <tt>Click</tt> and <tt>Command</tt>, when it is clicked on the client-side. The difference between <tt>Click</tt> and <tt>Command</tt> events is that the latter event is bubbled up to the button's ancestor controls. A <tt>Command</tt> event handler can use <tt>CommandName</tt> and <tt>CommandParameter</tt> associated with the event to perform specific actions.
+</p>
+<p>
+Clicking on button can trigger form validation, if <tt>CausesValidation</tt> is true. And the validation may be restricted within a certain group of validator controls according to <tt>ValidationGroup</tt>.
+</p>
+<com:RunBar PagePath="Controls.Samples.TButton.Home" />
+
+TODO: custom attributes
+
+</com:TContent> \ No newline at end of file