summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Button.page
diff options
context:
space:
mode:
authorxue <>2006-06-21 13:42:04 +0000
committerxue <>2006-06-21 13:42:04 +0000
commit9af7e1312620de671c4312fbfd723b59ee4685df (patch)
tree61ec683fa83d0f03bf7d37d87de0850c73653011 /demos/quickstart/protected/pages/Controls/Button.page
parentda4d82f2df169e733e6dc0c76fd0df2cee607531 (diff)
Merge from 3.0 branch till 1191.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Button.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/Button.page2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Button.page b/demos/quickstart/protected/pages/Controls/Button.page
index 5c827725..37b90062 100644
--- a/demos/quickstart/protected/pages/Controls/Button.page
+++ b/demos/quickstart/protected/pages/Controls/Button.page
@@ -4,7 +4,7 @@
<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.
+<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>OnClick</tt> and <tt>OnCommand</tt>, when it is clicked on the client-side. The difference between <tt>OnClick</tt> and <tt>OnCommand</tt> events is that the latter event is bubbled up to the button's ancestor controls. An <tt>OnCommand</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>.