From baf2eb12bc99905ad18fadaa4a542a0d109f9245 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 03:57:16 +0000 Subject: TTextBox demo completed. Fixed a few issues related with AutoPostBack=true. --- .../protected/pages/Controls/Samples/TTextBox/Home.page | 9 +++++---- demos/quickstart/protected/pages/Controls/Simple.page | 7 +++++++ 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'demos/quickstart') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page index 246ecfec..f771b2ba 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.page @@ -58,12 +58,13 @@ Auto postback text box not causing validation: Auto postback text box causing validation: + Text="change me to 'test' and see" /> @@ -157,10 +158,10 @@ Auto postback text box causing validation: TextMode="MultiLine" AutoPostBack="true" ValidationGroup="Group2" - Text="change me" /> + Text="change me to 'test' and see" /> diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page index f6f981c4..a244429d 100644 --- a/demos/quickstart/protected/pages/Controls/Simple.page +++ b/demos/quickstart/protected/pages/Controls/Simple.page @@ -39,6 +39,13 @@

TButton

+

+TButton creates a click button on a Web page. The button's caption is specified by Text property. A button is used to submit data to a page. TButton raises two server-side events, Click and Command, when it is clicked on the client-side. The difference between Click and Command events is that the latter event is bubbled up to the button's ancestor controls. A Command event handler can use CommandName and CommandParameter associated with the event to perform specific actions. +

+

+Clicking on button can trigger form validation, if CausesValidationis true. And the validation may be restricted within a certain group of validator controls according to ValidationGroup. +

+

TLinkButton

-- cgit v1.2.3