Click or drag to resize
KaxComboBox Methods

The KaxComboBox type exposes the following members.

Methods
  Name Description
Public method Code example ClearSelection

Clears out the list selection and sets the Selected property of all items to false.

Public method DataBind
Binds a data source to the invoked KaxComboBox and all its child controls. Does not bind the control if EnableAutomaticLoadOnDemand is true and the page request is not a callback.
(Overrides BaseDataBoundControlDataBind.)
Public method Code example FindItem
Returns the first KaxComboBoxItem that matches the conditions defined by the specified predicate. The predicate should returns a boolean value.
Public method Code example FindItemByText(String)
Finds the first KaxComboBoxItem with Text that matches the given text value.
Public method Code example FindItemByText(String, Boolean)
Finds the first KaxComboBoxItem with Text that matches the given text value.
Public method Code example FindItemByValue(String)
Finds the first KaxComboBoxItem with Value that matches the given value.
Public method Code example FindItemByValue(String, Boolean)
Finds the first KaxComboBoxItem with Value that matches the given value.
Public method FindItemIndexByText(String)
Returns the index of the first KaxComboBoxItem with Text that matches the given text value.
Public method FindItemIndexByText(String, Boolean)
Returns the index of the first KaxComboBoxItem with Text that matches the given text value.
Public method FindItemIndexByValue(String)
Returns the index of the first KaxComboBoxItem with Value that matches the given value.
Public method FindItemIndexByValue(String, Boolean)
Returns the index of the first KaxComboBoxItem with Value that matches the given value.
Public method Code example LoadContentFile
Loads combobox items from an XML content file.
Public method RenderBeginTag (Overrides KaxDataBoundControl.RenderBeginTag(HtmlTextWriter).)
Public method RenderEndTag (Overrides KaxDataBoundControl.RenderEndTag(HtmlTextWriter).)
Public method Code example SortItems
Sorts the items in the KaxComboBox.
Public method Code example SortItems(IComparer)
Sorts the items in the KaxComboBox.
Top
See Also