From 2ef6c10c54acc485dc5ac12e1fc856b630243646 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 25 Jan 2006 05:18:10 +0000 Subject: Added description for list controls. Fixed a bug about viewsource in tutorial demo. --- .../quickstart/protected/pages/Controls/List.page | 24 +++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/Controls') diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page index d076da2f..dd5c9002 100644 --- a/demos/quickstart/protected/pages/Controls/List.page +++ b/demos/quickstart/protected/pages/Controls/List.page @@ -33,17 +33,39 @@ Since TListControl inherits from TDataBoundControl, these list

TDropDownList

-TDropDownList displays a dropdown list box that allows users to select a single option from a few prespecified ones. The items in the list box are represented by the Items property. The selected item can be retrieved via SelectedItem property. If AutoPostBack is true, selection change will cause page postback. +TDropDownList displays a dropdown list box that allows users to select a single option from a few prespecified ones.

TCheckBoxList

+

+TCheckBoxList displays a list of checkboxes on a Web page. The alignment of the text besides each checkbox can be specified TextAlign. The layout of the checkboxes can be controlled by the following properties: +

+

TRadioButtonList

+

+TRadioButtonList is similar to TCheckBoxList in every aspect except that each TRadioButtonList displays a group of radiobuttons. Only one of the radiobuttions can be selected (TCheckBoxList allows multiple selections.) +

TBulletList

+

+TBulletedList displays items in a bullet format on a Web page. The style of the bullets can be specified by BulletStyle. When the style is CustomImage, the bullets are displayed as images, which is specified by BulletImageUrl. +

+

+TBulletedList displays the item texts in three different modes, +

    +
  • Text - the item texts are displayed as static texts;
  • +
  • HyperLink - each item is displayed as a hyperlink whose URL is given by the item value, and Target property can be used to specify the target browser window;
  • +
  • LinkButton - each item is displayed as a link button which posts back to the page if a user clicks on that, and the event OnClick will be raised under such a circumstance.
  • +
+

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