Wednesday, July 28, 2010

oBox Properties

The control above is initialized with this code. The italic properties are optional:
... ...
· DropDownStyle - Determines whether the user is allowed to enter text that does not match an item in the list, and whether the list is always displayed. If "DropDownList" is specified, users are not allowed to enter text that does not match an item in the list. When "DropDown" (the default value) is specified, any text is allowed. If "Simple" is specified, any text is allowed and the list is always displayed regardless of the AutoCompleteMode property value.
· AutoCompleteMode - Determines how the ComboBox automatically completes the text that is typed into it. When "Suggest" is specified, the ComboBox will show the list, highlight the first matched item, and if necessary, scroll the list to show the highlighted item. If "Append" is specified, the ComboBox will append the remainder of the first matched item to the user-typed text and highlight the appended text. When "SuggestAppend" is specified, both of the above behaviors are applied. If "None" (the default value) is specified, the ComboBox's auto-complete behaviors are disabled.
· CaseSensitive - Specifies whether user-typed text is matched to items in the list in a case-sensitive manner. The default is "false".
· RenderMode - Specifies whether the ComboBox is rendered as an "Inline" or "Block" level HTML element. The default is "Inline".
· ItemInsertLocation - Determines whether to "Append" or "Prepend" new items when they are inserted into the list, or whether to insert them in an "Ordinal" manner (alphabetically) based on the item Text or Value. The default is "Append".
· ListItemHoverCssClass - When specified, replaces the default styles applied to highlighted items in the list with a custom css class.
· ListItem - One or more child controls used to declare items that will be added to the ComboBox list. When bound to a data source, all declared ListItems will be removed unless the AppendDataBoundItems property is set to "true".

ConfirmButton DescriptionConfirmButton Description
ConfirmButton is a simple extender that catches clicks on a button (or any instance of a type derived from Button) and displays a message to the user. If the "OK" button is clicked, the button or link functions normally. If not, the click is trapped and the button will not perform its default submit behavior; optionally, a client script is executed if the OnClientCancel property is set. This is useful for delete links or anything else that requires confirmation from the user.

No comments:

Post a Comment