AddItem(text)
|
Adds a new item to the editor, specifying the item’s display text, associated value and displayed image, and returns the index of the added item.
|
AddItemCssClass(index, className)
|
Sets the CSS class for a list box item specified by its index.
|
AddItemTextCellCssClass(itemIndex, textCellIndex, className)
|
Sets the CSS class for a list box item’s text cell specified by its index.
|
AdjustControl
|
Modifies the control’s size against the control’s container.
|
AdjustControls
static
|
Modifies the controls size within the specified container.
|
AreEditorsValid
static
|
Verifies whether the editors in a specified visibility state, which are located within a specified container and belong to a specific validation group, are valid.
|
AttachEditorModificationListener(handler, predicate)
static
|
Attaches a handler to the ASPxClientEdit‘s event indicating whether the editor has been changed since the previous state.
|
BeginUpdate
|
Prevents the client list box editor from being rendered until the ASPxClientListBox.EndUpdate method is called.
|
Cast(obj)
static
|
Converts the specified object to the MVCxClientListBox type.
|
ClearEditorsInContainer(container)
static
|
Assigns a null value to all editors in a specified visibility state, which are located within a specified container and belong to a specific validation group.
|
ClearEditorsInContainerById(containerId)
static
|
Assigns a null value to all editors which are located within the specified container object, and belonging to a specific validation group, dependent on the visibility state specified.
|
ClearGroup(validationGroup)
static
|
Assigns a null value to all editors which belong to a specific validation group, dependent on the visibility state specified.
|
ClearItems
|
Removes all items from the client list box editor.
|
DetachEditorModificationListener(handler, predicate)
static
|
Detaches a handler from the editor’s event if the editor meets the predicate criteria.
|
EndUpdate
|
Re-enables editor render operations after a call to the ASPxClientListBox.BeginUpdate method, and forces an immediate re-rendering.
|
FindItemByText(text)
|
Returns a list box item by its text.
|
FindItemByValue(value)
|
Returns a list box item by its value.
|
Focus
|
Sets input focus to the editor.
|
GetCaption
|
Returns the text displayed in the editor caption.
|
GetClientVisible
|
Obsolete. Returns a value specifying whether a control is displayed.
|
GetControlCollection
static
|
Returns a collection of client web control objects.
|
GetEnabled
|
Returns a value indicating whether an editor is enabled.
|
GetErrorText
|
Gets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
|
GetHeight
|
Returns the control’s height.
|
GetInputElement
|
Returns an HTML element that is the control’s input element.
|
GetIsValid
|
Gets a value that indicates whether the editor’s value passes validation.
|
GetItem(index)
|
Returns an item specified by its index within the list box editor’s item collection.
|
GetItemCount
|
Gets the number of items contained in the editor’s item collection.
|
GetMainElement
|
Returns an HTML element that is the root of the control’s hierarchy.
|
GetParentControl
|
Returns a client instance of the control that is the parent for a specified control.
|
GetReadOnly
|
Returns a value indicating whether the editor’s state is read-only on the client-side.
|
GetSelectedIndex
|
Returns the index of the selected item within the list editor.
|
GetSelectedIndices
|
Returns an array of the list editor’s selected items indices.
|
GetSelectedItem
|
Returns the list editor’s selected item.
|
GetSelectedItems
|
Returns an array of the list editor’s selected items.
|
GetSelectedValues
|
Returns an array of the list editor’s selected items values.
|
GetValue
|
Returns the editor’s value.
|
GetVisible
|
Returns a value specifying whether a control is displayed.
|
GetWidth
|
Returns the control’s width.
|
InCallback
|
Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side.
|
InitOnContainerMadeVisible
|
Obsolete. Initializes the ASPxClientListBox client object when its parent container becomes visible dynamically, on the client side.
|
InsertItem(index, text)
|
Adds a new item to the control’s items collection at the specified index.
|
MakeItemVisible(index)
|
Scrolls the editor’s item list, so that the specified item becomes visible.
|
PerformCallback(data)
|
Sends a callback with a parameter to update the ListBox by processing the passed information on the server, in an Action specified by the ListBox’s ListBoxSettings.CallbackRouteValues property.
|
RemoveItem(index)
|
Removes an item specified by its index from the client list editor.
|
RemoveItemCssClass(index, className)
|
Removes the CSS class from a list box item specified by its index.
|
RemoveItemTextCellCssClass(itemIndex, textCellIndex, className)
|
Removes the CSS class from a list box item’s text cell specified by its index.
|
SelectAll
|
Selects all list box items.
|
SelectIndices(indices)
|
Selects the items with the specified indices within a list box.
|
SelectItems(items)
|
Selects the specified items within a list box.
|
SelectValues(values)
|
Select the items with the specified values within a list box.
|
SendMessageToAssistiveTechnology(message)
|
Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user.
|
SetCaption(caption)
|
Specifies the text displayed in the editor caption.
|
SetClientVisible(visible)
|
Obsolete. Specifies whether a control is displayed.
|
SetEnabled(value)
|
Specifies whether an editor is enabled.
|
SetErrorText(errorText)
|
Sets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
|
SetHeight(height)
|
Specifies the control’s height.
Note that this method is not in effect for some controls.
|
SetIsValid(isValid)
|
Sets a value that specifies whether the editor’s value is valid.
|
SetItemAttribute(index, attributeName, attributeValue)
|
Adds a custom attribute to a list box item.
|
SetItemHtml(index, html)
|
Defines the HTML content for the specified list box item.
|
SetItemTextCellAttribute(itemIndex, textCellIndex, attributeName, attributeValue)
|
Adds a custom attribute to a list box item’s text cell.
|
SetItemTextCellHtml(itemIndex, textCellIndex, html)
|
Defines the HTML content for the specified list box item’s text cell.
|
SetItemTextCellTooltip(itemIndex, textCellIndex, tooltip)
|
Sets the tooltip text for the text cell of the editor’s item specified by its index.
|
SetItemTooltip(index, tooltip)
|
Sets the tooltip text for the list box editor’s item specified by its index.
|
SetReadOnly(readOnly)
|
Specifies whether the control’s state is read-only on the client side.
|
SetSelectedIndex(index)
|
Sets the list editor’s selected item specified by its index.
|
SetSelectedItem(item)
|
Sets the list editor’s selected item.
|
SetValue(value)
|
Changes the editor’s value.
|
SetVisible(visible)
|
Specifies whether a control is displayed.
|
SetWidth(width)
|
Specifies the control’s width in pixels.
|
UnselectAll
|
Unselects all list box items.
|
UnselectIndices(indices)
|
Unselects an array of the list box items with the specified indices.
|
UnselectItems(items)
|
Unselects an array of the specified list box items.
|
UnselectValues(values)
|
Unselects an array of the list box items with the specified values.
|
Validate
|
Performs the editor’s validation.
|
ValidateEditorsInContainer(container)
static
|
Validates all editors in a specified visibility state, which are located within a specified container and belong to a specific validation group.
|
ValidateEditorsInContainerById(containerId)
static
|
Performs validation of the editors which are located within the specified container and belong to a specific validation group, dependent on the visibility state specified.
|
ValidateGroup(validationGroup)
static
|
Performs validation of editors contained within the specified validation group, dependent on the editor visibility state specified.
|