From dc4c82056f3c600267e75e1bb84869124870988f Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 06:06:03 +0000 Subject: Added description for the rest simple HTML controls in the quickstart demo. --- demos/quickstart/protected/pages/Controls/Simple.page | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'demos/quickstart/protected') diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page index a244429d..874d274c 100644 --- a/demos/quickstart/protected/pages/Controls/Simple.page +++ b/demos/quickstart/protected/pages/Controls/Simple.page @@ -48,11 +48,30 @@ Clicking on button can trigger form validation, if CausesValidationis t

TLinkButton

+

+TLinkButton is similar to TButton in every aspect except that TLinkButton is displayed as a hyperlink. The link text is determined by its Text property. If the Text property is empty, then the body content of the button is displayed (therefore, you can enclose a <img;> tag within the button body and get an image button. +

+

TImageButton

+

+TImageButton is also similar to TButton, except that TImageButton displays the button as an image. The image is specified via ImageUrl, and the alternate text is specified by Text. In addition, it is possible to obtain the coordinate of the point where the image is clicked. The coordinate information is contained in the event parameter of the Click event (not Command). +

+

TCheckBox

+

+TCheckBox displays a check box on a Web page. A caption can be specified via Text and displayed beside the check box. It can appear either on the right or left of the check box, which is determined by TextAlign. You may further specify attributes applied to the text by using LabelAttributes. +

+

+To determine whether the check box is checked, test the Checked property. A CheckedChanged event is raised if the state of Checked is changed between posts to the server. If AutoPostBack is true, changing the check box state will cause postback action. And if CausesValidation is also true, upon postback validation will be performed for validators within the specified ValidationGroup. +

+

TRadioButton

+

+TRadioButton is similar to TCheckBox in every aspect, except that TRadioButton displays a radio button on a Web page. The radio button can belong to a specific group specified by GroupName such that only one radio button within that group can be selected at most. +

+ \ No newline at end of file -- cgit v1.2.3