ASP.NET ComboBox - Documentation - ComboBox

Obout.ComboBox namespace
Obout.ComboBox.ComboBox class
<%@ Register TagPrefix="obout" Namespace="Obout.ComboBox" Assembly="obout_ComboBox" %>
Properties
Name Description
propertyAllowCustomText Bool. Gets or sets a value indicating whether the ComboBox can store texts that are not in the list of items. Default: false

See also working example.
property AllowEdit Bool. Gets or sets a value indicating whether the input field is editable by the user. Default: true

See also working example.
property AutoClose Bool. Gets or sets a value indicating whether the drop down menu should be collapsed when an item from the list is selected. Default: true
property AutoPostBack Bool. Gets or sets a value indicating whether the page will be posted back to the server when the selected item is changed. Default: false

See also working example.
property AutoValidate Bool. Gets or sets a value indicating whether Tab/Enter needs to be pressed in order to persist the text typed in the input field. Default: false

See also working example.
property ClientSideEvents ComboBoxClientSideEvents. Property used to define the Client-Side Events.

See also working example.
property CssSettings ComboBoxCssSettings. Property used to define the CSS Settings.
property DataSource Object. Gets or sets the object from which the ComboBox retrieves its list of data items.
property DataSourceID Object. Gets or sets the ID of the control from which the ComboBox retrieves its list of data items.
property DataTextField String. Gets or sets the field of the data source that provides the text content of the list items.
property DataValueField String. Gets or sets the field of the data source that provides the value of each list item.
property Details ComboBoxDetailCollection. Collection containing the detail for a master ComboBox.
property EmptyText String. Gets or sets the text that is displayed in the ComboBox when no item is selected.
property Enabled Bool. Gets or sets a value indicating whether the ComboBox control is enabled.

See also working example.
property EnableLoadOnDemand Bool. Gets or sets a value indicating whether the on demand loading feature is enabled. Default: false

See also working example.
property EnableVirtualScrolling Bool. Gets or sets a value indicating whether items are loaded on demand when the drop down menu is scrolled. Default: false

See also working example.
property FilterType ComboBoxFilterType. Gets or sets the type of the filter that is used by the ComboBox. Default: ComboBoxFilterType.None

See also working example.
property Focused Bool. Gets or sets a value indicating whether the combobox will be focused when the page is loaded. Default: false
property FolderStyle String. The folder containing the css stylesheet used by the control.

See also working example.
property FooterTemplate ITemplate. The template used for the footer of the ComboBox.
property HeaderTemplate ITemplate. The template used for the header of the ComboBox.
property Height Unit. Gets or sets the height of the drop down menu.

See also working example.
property ID String. Gets or sets the programmatic identifier assigned to the ComboBox control.
property Items ComboBoxItemCollection. Gets the collection of items in the list.
property ItemTemplate ITemplate. The template to be used for the items of the ComboBox.

See also working example.
property LoadingText String. Gets or sets the text that is displayed while the ComboBox loads its items on demand.

See also working example.
property MenuWidth Unit. Gets or sets the width of the drop down menu. Default: same as Width

See also working example.
property Mode Gets or sets the mode in which the CombobBox operates.

See also working example.
property MultiSelectionSeparator String. Gets or sets a value indicating the character(s) that will be used to separate a multi item selection. Default: ","

See also working example.
property OpenOnFocus Bool. Gets or sets a value indicating whether the drop down list with items should be opened when the ComboBox is focused. Default: true

See also working example.
property SelectedIndex Int. Gets or sets a value indicating the selected index. Default: -1

See also working example.
property SelectedText String. Gets or sets the selected text of the ComboBox.

See also working example.
property SelectedValue String. Gets or sets the selected value of the ComboBox.

See also working example.
property SelectionMode ListSelectionMode. Gets or sets a value indicating the selection mode used by the ComboBox. Default: ListSelectionMode.Single

See also working example.
property ShowSelectedImage Bool Gets or sets a value indicating whether the image of the selected item (if any) should be displayed in the top section of the ComboBox. Default: false

See also working example.
property Visible Bool. Gets or sets a value that indicates whether the ComboBox is rendered as UI on the page. Default: true
property Width Unit. Gets or sets the width of the ComboBox. Default: 150px

See also working example.
Events
Name Description
property ItemCreated ComboBoxItemCreatedEventHandler ca si tip, fara link si text: raised when an item is created.
property ItemDataBound ComboBoxItemDataBoundEventHandler raised when an item is bound to its data item.
property LoadingItems ComboBoxLoadingItemsEventHandler raised when the load on demand feature sends an AJAX request to load the next set of items.
property SelectedIndexChanged ComboBoxSelectedIndexChangedEventHandler raised when the selection is changed.
Methods
Name Description
property DataBind Binds a data source to the invoked ComboBox control.
property Focus Sets input focus to the ComboBox control.
obout.com 
obout.com Home 
News 
ComboBox Home   
ComboBox Home 
Examples - 73
Appearance - 2 
Live Styles 
Different Styles New 
Autocomplete & Filtering - 2 
Autocomplete  
Filtering  
Load on Demand - 7 
Load Items on Demand 
Load Items on Demand with Paging  
Virtual Scrolling  
Initial Text New 
Initial Text on Client-Side New 
Load Items on Button Click New 
Load Items with MinChars New 
Multi-Columns - 5 
Grid-like Multi-Columns  
Grid-like Multi-Columns on Demand  
Grid-like Multi-Columns & Tooltips New 
Multiple Rows and Columns  
State Selector  
Items with Icons - 4 
Items with Icons  
Grid-like Multi-Columns with Icons  
Multiple Rows and Columns with Icons  
Icons from Database New 
Templates - 4 
Item Templates  
Header Templates  
Dynamic Header Templates  
Populating with Data - 5 
Declarative  
SqlDataSource  
ObjectDataSource  
Generic Collections  
DataSet  
Item Selection - 6 
Single Item Selection  
Multi Item Selection  
Get Selected Item  
Get Selected Items  
Set Selected Item New 
Set Selected Items New 
Mode - 2 
ComboBox  
TextBox  
Master/Detail - 3 
Master/Detail  
Unlimited Detail Levels  
Cascading ComboBoxes  
Integration - 13 
Items with ASP.NET CheckBoxes  
Items with Obout CheckBoxes  
Select All ASP.NET CheckBoxes New 
Select All Obout CheckBoxes New 
CheckBoxes on Multiple Columns New 
RadioButtons inside ComboBox  
TreeView inside ComboBox  
TreeView with Full Path New 
ComboBox inside Grid  
Grid inside ComboBox New 
Master/Detail ComboBox inside Grid 
CheckBoxes Loaded On-Demand New 
Validate with ASP.NET Validators New 
Settings - 8 
AllowCustomText  
AllowEdit  
AutoPostback  
AutoValidate  
Height  
MenuWidth  
OpenOnFocus  
Width  
Server-Side API - 4 
Server-Side Events  
Enable / Disable  
Get Values from Multiple Columns New 
Tooltips New 
Client-Side API - 7 
Client-Side Events  
Add / Remove Items  
Add Multi-Column Items New 
Enable / Disable  
Get Selected Item  
Reset Selection New 
Select / Deselect All Items New 
Appearance Customization - 1 
Aligning Items New 
Knowledge Base - 1 
Knowledge Base 
Documentation - 13 
Server-Side 
ComboBox 
ComboBoxClientSideEvents 
ComboBoxCssSettings 
ComboBoxFilterType 
ComboBoxFooterTemlateContainer 
ComboBoxHeaderTemlateContainer 
ComboBoxItem 
ComboBoxItemEventArgs 
ComboBoxItemTemlateContainer 
ComboBoxLoadingItemsEventArgs 
ComboBoxMode 
Client-Side 
Client-Side API 
ChangeLog 
Tutorials - 2 
Appearance - 1 
CSS Tutorial  
Configuration - 1 
Using the correct path