New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[EmbeddedSkin("ListBox", typeof(RadListBox))]
[EmbeddedSkin("ListBox", "Default", typeof(RadListBox))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadListBox))]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadButton))]
[RequiredScript(typeof(jQueryPlugins), 1)]
[RequiredScript(typeof(TouchScrollExtender), 2)]
[RequiredScript(typeof(OData), 3)]
[RequiredScript(typeof(MaterialRipple))]
[ClientScriptResource("Telerik.Web.UI.RadListBox", "Telerik.Web.UI.ListBox.RadListBoxScripts.js")]
[ValidationProperty("SelectedValue")]
[ControlValueProperty("SelectedValue")]
[TelerikToolboxCategory("Data")]
[ToolboxBitmap(typeof(RadListBox), "Toolbox.Icons.ListBox.png")]
public class RadListBox : ControlItemContainer, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, INamingContainer, IXmlSerializable, IControlItemContainer, ICallbackEventHandler, IPostBackEventHandler, IFlatBoundContainer

Inheritance: objectControlWebControlBaseDataBoundControlDataBoundControlRadDataBoundControlControlItemContainerRadListBox...

Implements: IAttributeAccessorICallbackEventHandlerIComponentIControlIControlBuilderAccessorIControlDesignerAccessorIControlItemContainerIControlResolverIDataBindingsAccessorIDisposableIExpressionsAccessorIFeatureGroupIFlatBoundContainerINamingContainerIParserAccessorIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControlIUrlResolutionServiceIXmlSerializable...

Inherited Members ControlItemContainer.PrepareForDataBinding()ControlItemContainer.GetXml()ControlItemContainer.LoadXml(string)ControlItemContainer.CreateItem(ClientStateLogEntry)ControlItemContainer.FindChild<TControlItem>(Predicate<TControlItem>)ControlItemContainer.GetAllChildren<TControlItem>()ControlItemContainer.FindChildByValue<TControlItem>(string)ControlItemContainer.FindChildByValue<TControlItem>(string, bool)ControlItemContainer.FindChildByText<TControlItem>(string)ControlItemContainer.FindChildByText<TControlItem>(string, bool)ControlItemContainer.FindChildByAttribute<TControlItem>(string, string)ControlItemContainer.InitializeItem(ControlItem)ControlItemContainer.ReadXml(XmlReader)ControlItemContainer.GetItemTypeFromXmlTagName(string)ControlItemContainer.ReadXmlForChildren(XmlReader)ControlItemContainer.WriteXml(XmlWriter)ControlItemContainer.WriteXmlForChildren(XmlWriter)ControlItemContainer.GetXml(XmlSerializer, TextWriter)ControlItemContainer.LoadXml(ControlItemContainer)ControlItemContainer.TrackViewState()ControlItemContainer.FindItemByHierarchicalIndex(string)ControlItemContainer.GetPostbackEventReference()ControlItemContainer.AppendDataBoundItemsControlItemContainer.DataTextFieldControlItemContainer.DataValueFieldControlItemContainer.DataTextFormatStringControlItemContainer.ValidationGroupControlItemContainer.PostBackUrlControlItemContainer.CausesValidationControlItemContainer.KeyboardNavigationSettingsControlItemContainer.TemplateControlItemContainer.ChildrenControlItemContainer.TagKeyDataBoundControl.OnCreatingModelDataSource(CreatingModelDataSourceEventArgs)DataBoundControl.CreateDataSourceSelectArguments()DataBoundControl.GetData()DataBoundControl.GetDataSource()DataBoundControl.MarkAsDataBound()DataBoundControl.OnDataPropertyChanged()DataBoundControl.OnDataSourceViewChanged(object, EventArgs)DataBoundControl.OnLoad(EventArgs)DataBoundControl.OnPagePreLoad(object, EventArgs)DataBoundControl.ValidateDataSource(object)DataBoundControl.DataMemberDataBoundControl.IsUsingModelBindersDataBoundControl.ItemTypeDataBoundControl.SelectMethodDataBoundControl.DataSourceIDDataBoundControl.DataSourceObjectDataBoundControl.SelectArgumentsDataBoundControl.CreatingModelDataSourceDataBoundControl.CallingDataMethodsBaseDataBoundControl.ConfirmInitState()BaseDataBoundControl.DataBind()BaseDataBoundControl.EnsureDataBound()BaseDataBoundControl.OnDataBound(EventArgs)BaseDataBoundControl.OnInit(EventArgs)BaseDataBoundControl.DataSourceBaseDataBoundControl.InitializedBaseDataBoundControl.IsBoundUsingDataSourceIDBaseDataBoundControl.IsDataBindingAutomaticBaseDataBoundControl.SupportsDisabledAttributeBaseDataBoundControl.RequiresDataBindingBaseDataBoundControl.DataBoundWebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.HeightWebControl.IsEnabledWebControl.SkinIDWebControl.TabIndexWebControl.TagNameWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.HasChildViewStateControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RadListBox()

Properties

Gets or sets a value indicating whether to update the underlying datasource after postback caused by reorder, delete or transfer.

C#
public bool AllowAutomaticUpdates { get; set; }
Property Value:

true if the datasource should be update; otherwise, false. The default value is false.

Automatic updates require postback so the AutoPostBackOnDelete, AutoPostBackOnReorder or AutoPostBackOnTransfer should be set to true depending on the requirements.

Gets or sets a value indicating whether RadListBox displays the delte button.

C#
[ClientControlProperty]
public bool AllowDelete { get; set; }
Property Value:

true if delete button is displayed; otherwise, false. The default value is false.

Gets or sets a value indicating whether RadListBox displays the reordering buttons.

C#
[ClientControlProperty]
public bool AllowReorder { get; set; }
Property Value:

true if reordering UI is displayed; otherwise, false. The default value is false.

Gets or sets a value indicating whether RadListBox displays the transfer buttons.

C#
[ClientControlProperty]
public bool AllowTransfer { get; set; }
Property Value:

true if transfer UI is displayed; otherwise, false. The default value is false.

Gets or sets a value indicating whether the user can transfer the same item more than once.

C#
[ClientControlProperty]
public bool AllowTransferDuplicates { get; set; }
Property Value:

true if the user should be able to transfer the same item more than once; otherwise, false. The default value is false.

The property should only be used together with SelectionType="Copy"

Gets or sets a value indicating whether the double click on a item causes transfer

C#
[ClientControlProperty]
[ClientPropertyName("_allowTransferOnDblClick")]
public bool AllowTransferOnDoubleClick { get; set; }
Property Value:

true if the user should be able to transfer items with double click; otherwise, false. The default value is false.

Gets or sets the value of the aria-label attribute rendered on the RadListBox root element when EnableAriaSupport is true.

C#
public string AriaLabel { get; set; }

Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the RadListBox selection.

C#
[Bindable(false)]
[ClientControlProperty]
public bool AutoPostBack { get; set; }

Set this property to true if the server needs to capture the selection as soon as it is made. For example, other controls on the Web page can be automatically filled depending on the user's selection from a list control.

This property can be used to allow automatic population of other controls on the Web page based on a user's selection from a list.

The value of this property is stored in view state.

The server-side event that is fired is SelectedIndexChanged.

Gets or sets a value indicating whether RadListBox should post back after delete.

C#
[ClientControlProperty]
public bool AutoPostBackOnDelete { get; set; }
Property Value:

true if RadListBox should postback after delete; otherwise, false. The default value is false.

Gets or sets a value indicating whether RadListBox should post back after reorder.

C#
[ClientControlProperty]
public bool AutoPostBackOnReorder { get; set; }
Property Value:

true if RadListBox should postback after reorder; otherwise, false. The default value is false.

Gets or sets a value indicating whether RadListBox should post back after transfer.

C#
[ClientControlProperty]
public bool AutoPostBackOnTransfer { get; set; }
Property Value:

true if RadListBox should postback after transfer; otherwise, false. The default value is false.

Used to customize the appearance and position of the buttons displayed by RadListBox.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ListBoxButtonSettings ButtonSettings { get; }

When set to true displays a checkbox next to each item.

C#
[ClientControlProperty]
[ClientPropertyName("_checkBoxes")]
public bool CheckBoxes { get; set; }

Gets the currently checked items in the ListBox.

C#
[Browsable(false)]
public virtual IList<RadListBoxItem> CheckedItems { get; }

Gets a list of all client-side changes (adding an Item, removing an Item, changing an Item's property) which have occurred.

C#
[Browsable(false)]
public IList<ClientOperation<RadListBoxItem>> ClientChanges { get; }

Gets or sets the HTML template of a RadListBoxItem when added on the client.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
public virtual string ClientItemTemplate { get; set; }

Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.

C#
public override ControlCollection Controls { get; }
Property Value:

The collection of child controls for the specified server control.

Overrides: Control.Controls

The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()

C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

Example:
C#
protected override string CssClassFormatString
{
       get
       {
           return "RadDock RadDock_{0} rdWTitle rdWFooter";
       }
}

Gets or sets the selected culture. Localization strings will be loaded based on this value.

C#
public CultureInfo Culture { get; set; }
Property Value:

The culture.

Gets or sets the key field in the data source. Usually this is the database column which denotes the primary key.

C#
public string DataKeyField { get; set; }
Property Value:

The name of the key field in the data source specified.

DataKeyField is required for automatic data source updates during transfer, reorder and delete.

Gets a DataKeyCollection object that stores the key values of each record.

C#
[Browsable(false)]
public virtual DataKeyCollection DataKeys { get; }
Property Value:

The data keys.

The DataKeys property is populated after databinding if the DataKeyField property is set.

Gets or sets the sort field in the data source. The sort field must be of numeric type.

C#
public string DataSortField { get; set; }
Property Value:

The name of the sort field in the data source specified.

DataSortField is required for automatic data source updates during reorder.

Gets or sets the empty message.

C#
public string EmptyMessage { get; set; }
Property Value:

The empty message.

Gets or sets the ITemplate that defines the RadListBox empty message template.

C#
[TemplateContainer(typeof(RadListBox))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate EmptyMessageTemplate { get; set; }
Property Value:

The item template.

When set to true enables support for WAI-ARIA.

C#
[ClientControlProperty]
[ClientPropertyName("enableAriaSupport")]
public bool EnableAriaSupport { get; set; }

When set to true enables Drag-and-drop functionality

C#
[ClientControlProperty]
public bool EnableDragAndDrop { get; set; }

Gets or sets a value indicating whether images in list items should be lazy loaded when they become visible in the viewport.

C#
public bool EnableImageLazyLoading { get; set; }

Gets or sets the EnableLoadOnDemand property.

C#
public bool EnableLoadOnDemand { get; set; }
Property Value:

The EnableLoadOnDemand property.

Gets or sets the enable mark matches.

C#
public bool EnableMarkMatches { get; set; }
Property Value:

The enable mark matches.

Get a footer of RadListBox.

C#
[Browsable(false)]
public WebControl Footer { get; }

Gets or sets the ITemplate that defines the RadListBox footer template.

C#
[TemplateContainer(typeof(RadListBox))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate FooterTemplate { get; set; }
Property Value:

The footer template.

Get a header of RadListBox.

C#
[Browsable(false)]
public WebControl Header { get; }

Gets or sets the ITemplate that defines the RadListBox header template.

C#
[TemplateContainer(typeof(RadListBox))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate HeaderTemplate { get; set; }
Property Value:

The header template.

Gets the items of the RadListBox control.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public RadListBoxItemCollection Items { get; }
Property Value:

The RadListBoxItemCollection object which represents the items.

You can use the Items property to add and remove items in the RadListBox control.

Gets or sets the ITemplate that defines how items in the RadListBox control are displayed.

C#
[TemplateContainer(typeof(RadListBoxItem))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate ItemTemplate { get; set; }
Property Value:

The item template.

The ID of the RadAjaxLoadingPanel to be displayed during LOD

C#
[PersistenceMode(PersistenceMode.Attribute)]
[TypeConverter("Telerik.Web.Design.AjaxLoadingPanelIDConverter, Telerik.Web.Design, Version=2026.3.812.462, Culture=neutral, PublicKeyToken=121fae78165ba3d4")]
[ClientPropertyName("_loadingPanelID")]
[ClientControlProperty]
public string LoadingPanelID { get; set; }

Gets the localization.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public ListBoxButtons Localization { get; }
Property Value:

The localization.

Gets or sets a value indicating where RadListBox will look for its .resx localization files.

C#
public string LocalizationPath { get; set; }
Property Value:

The localization path.

Gets or sets the name of the JavaScript function which handles the checkAllItemChecked client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("checkAllChecked")]
public string OnClientCheckAllChecked { get; set; }

The JavaScript function executed when CheckAll checkbox is checked.

Gets or sets the name of the JavaScript function which handles the checkAllItemChecked client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("checkAllChecking")]
public string OnClientCheckAllChecking { get; set; }

The JavaScript function executed before CheckAll checkbox is checked.

Gets or sets a value indicating the client-side event handler that is called before the browser context panel shows (after right-clicking an item).

C#
[ClientControlEvent]
[ClientPropertyName("contextMenu")]
public string OnClientContextMenu { get; set; }

Use theOnClientContextMenu property to specify a JavaScript function that will be executed before the context menu shows after right clicking an item.

Example:
C#
function onContextMenu(sender, args)
{
var item = args.get_item();
}

Gets or sets the name of the JavaScript function which handles the deleted client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("deleted")]
public string OnClientDeleted { get; set; }

The deleted event occurs when an itema are deleted (during transfer or delete for example).

Gets or sets the name of the JavaScript function which handles the deleting client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("deleting")]
public string OnClientDeleting { get; set; }

The deleting event occurs when an items are deleted (during transfer or delete for example).

Example:
C#
function onDeleting(sender, args)
{
args.set_cancel(true);
}

Gets or sets the name of the JavaScript function which handles the itemDragging client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("dragging")]
public string OnClientDragging { get; set; }

The itemDragging event occurs when user moves the mouse while dragging an item.

Gets or sets the name of the JavaScript function which handles the itemDragStart client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("dragStart")]
public string OnClientDragStart { get; set; }

The itemDragStart event occurs when user starts to drag an item.

Example:
C#
function onItemDragStart(sender, args)
{
args.set_cancel(true);
}

Gets or sets the name of the JavaScript function which handles the itemDropped client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("dropped")]
public string OnClientDropped { get; set; }

The itemDropped event occurs after the user drops an item onto another item.

Gets or sets the name of the JavaScript function which handles the itemDropping client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("dropping")]
public string OnClientDropping { get; set; }

The itemDropping event occurs when the user drops an item onto another item.

Gets or sets the name of the JavaScript function which handles the itemChecked client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("itemChecked")]
public string OnClientItemChecked { get; set; }

The itemChecked event occurs when the item is checked.

Gets or sets the name of the JavaScript function which handles the itemChecking client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("itemChecking")]
public string OnClientItemChecking { get; set; }

The itemChecking event occurs when the item is checked.

Example:
C#
function onItemChecking(sender, args)
{
args.set_cancel(true);
}

Gets or sets the name of the JavaScript function called when an Item is created during Web Service Load on Demand.

C#
[ClientControlEvent]
[ClientPropertyName("itemDataBound")]
public string OnClientItemDataBound { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemDoubleClicked")]
public string OnClientItemDoubleClicked { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemDoubleClicking")]
public string OnClientItemDoubleClicking { get; set; }

Gets or sets a value indicating the client-side event handler that is called when the RadListBox items were just populated (for example from web service).

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("itemsRequested")]
public string OnClientItemsRequested { get; set; }
Property Value:

A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.

If specified, the OnClientItemsRequested client-side event handler is called when the RadListBox items were just populated. Two parameters are passed to the handler:

  • sender, the menu client object;
  • eventArgs, null for this event.

This event cannot be cancelled.

Example:
C#
<p>&lt;script type="text/javascript"&gt;<br />
function onItemsRequested(sender, eventArgs)<br />
{<br />
       alert("Loading finished");<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;telerik:RadListBox ID="RadListBox1"<br />
runat="server"<br />
    <strong>OnClientItemsRequested="onItemsRequested"</strong>&gt;<br />
....<br />
&lt;/telerik:RadListBox&gt;</p>

Gets or sets a value indicating the client-side event handler that is called when the operation for populating the RadListBox has failed.

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("itemsRequestFailed")]
public string OnClientItemsRequestFailed { get; set; }
Property Value:

A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.

If specified, the OnClientItemsRequestFailed client-side event handler is called when the operation for populating the RadListBox has failed. Two parameters are passed to the handler:

  • sender, the menu client object;
  • eventArgs with one property:
    • set_cancel(), set to true to suppress the default action (alert message).

This event can be cancelled.

Example:
C#
<p>&lt;script type="text/javascript"&gt;<br />
function onItemsRequestFailed(sender, eventArgs)<br />
{<br />
       alert("Error: " + errorMessage);<br />
       eventArgs.set_cancel(true);<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;telerik:RadListBox ID="RadListBox1"<br />
runat="server"<br />
    <strong>OnClientItemsRequestFailed="onItemsRequestFailed"</strong>&gt;<br />
....<br />
&lt;/telerik:RadListBox&gt;</p>

Gets or sets a value indicating the client-side event handler that is called when the RadListBOx is about to be populated (for example from web service).

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("itemsRequesting")]
public string OnClientItemsRequesting { get; set; }
Property Value:

A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.

If specified, the OnClientItemsRequesting client-side event handler is called when the RadListBox is about to be populated. Two parameters are passed to the handler:

  • sender, the listBox client object;
  • eventArgs with three properties:
    • get_context(), an user object that will be passed to the web service.
    • set_cancel(), used to cancel the event.

This event can be cancelled.

Example:
C#
<p>&lt;script type="text/javascript"&gt;<br />
function onItemRequestingHandler(sender, eventArgs)<br />
{<br />
       var context = eventArgs.get_context();<br />
       context["Parameter1"] = "Value";<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;telerik:RadListBox ID="RadListBox1"<br />
runat="server"<br />
    <strong>OnClientItemPopulating="onClientItemPopulatingHandler"</strong>&gt;<br />
....<br />
&lt;/telerik:RadListBox&gt;</p>

Gets or sets the name of the JavaScript function which handles the load client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }

The load event occurs when RadListBox is initialized.

Gets or sets the name of the JavaScript function which handles the mouseOut client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("mouseOut")]
public string OnClientMouseOut { get; set; }

The mouseOut event occurs when the user moves away the mouse from a listbox item.

Gets or sets the name of the JavaScript function which handles the mouseOver client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("mouseOver")]
public string OnClientMouseOver { get; set; }

The mouseOver event occurs when the user hovers a listbox item with the mouse.

Gets or sets the name of the JavaScript function which handles the reordered client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("reordered")]
public string OnClientReordered { get; set; }

The reordered event occurs when an item is reordered.

Gets or sets the name of the JavaScript function which handles the reordering client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("reordering")]
public string OnClientReordering { get; set; }

The reordering event occurs when an item is reordered.

Example:
C#
function onReordering(sender, args)
{
args.set_cancel(true);
}

Gets or sets the name of the JavaScript function which handles the selectedIndexChanged client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("selectedIndexChanged")]
public string OnClientSelectedIndexChanged { get; set; }

The selectedIndexChanged client-side event occurs when the selection changes.

Gets or sets the name of the JavaScript function which handles the selectedIndexChanging client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("selectedIndexChanging")]
public string OnClientSelectedIndexChanging { get; set; }

The selectedIndexChanging client-side event occurs when the selection changes.

Example:
C#
function onSelectedIndexChanging(sender, args)
{
args.set_cancel(true);
}

Gets or sets the name of the JavaScript function called when the client template for an item is evaluated

C#
[ClientControlEvent]
[ClientPropertyName("templateDataBound")]
public string OnClientTemplateDataBound { get; set; }

Gets or sets the name of the JavaScript function which handles the transferred client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("transferred")]
public string OnClientTransferred { get; set; }

The transferred event occurs when an item is transferred.

Gets or sets the name of the JavaScript function which handles the transferring client-side event.

C#
[ClientControlEvent]
[ClientPropertyName("transferring")]
public string OnClientTransferring { get; set; }

The transferring event occurs when an item is transferred.

Example:
C#
function onTransferring(sender, args)
{
args.set_cancel(true);
}

Gets or sets a value indicating whether RadListBox should persist the changes that occurred client-side (reorder, transfer, delete) after postback.

C#
[ClientControlProperty]
[ClientPropertyName("_persistChanges")]
public bool PersistClientChanges { get; set; }
Property Value:

true if client-side changes should be persisted after postback; otherwise, false. The default value is true.

Gets or sets the selected index of the RadListBox control.

C#
[Bindable(true)]
[Browsable(false)]
public virtual int SelectedIndex { get; set; }
Property Value:

The index that should be selected.

Set the selected index to -1 to clear the selection.

Gets the currently selected Item in the ListBox.

C#
[Bindable(false)]
[Browsable(false)]
public virtual RadListBoxItem SelectedItem { get; }
Property Value:

A RadListBoxItem which is currently selected. Null (Nothing) if there is no selected item (SelectedIndex is -1).

Gets the currently selected items in the ListBox.

C#
[Browsable(false)]
public virtual IList<RadListBoxItem> SelectedItems { get; }

Gets the Value of the selected item. When set selects the item with matching Value property.

C#
[Browsable(false)]
[Bindable(true, BindingDirection.TwoWay)]
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("_selectedValue")]
public virtual string SelectedValue { get; set; }

Gets or sets the Selection Mode of the RadListBox.

C#
[ClientControlProperty]
[ClientPropertyName("selectionMode")]
[ClientPersistedProperty]
public ListBoxSelectionMode SelectionMode { get; set; }

Gets or sets a value that indicates whether the CheckAll checkbox is shown in ListBox.

C#
[ClientControlProperty]
[ClientPropertyName("_showCheckAll")]
public bool ShowCheckAll { get; set; }

Automatically sorts items alphabetically (based on the Text property) in ascending or descending order.

C#
[Bindable(false)]
public RadListBoxSort Sort { get; set; }
Example:
cs-api-definition
RadListBox1.Sort = RadListBoxSort.Ascending;
RadListBox1.Sort = RadListBoxSort.Descending;
RadListBox1.Sort = RadListBoxSort.None;

Gets/sets whether the sorting will be case-sensitive or not. By default is set to true.

C#
[Bindable(false)]
public bool SortCaseSensitive { get; set; }
Example:
cs-api-definition
RadListBox1.SortCaseSensitive = false;
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

Gets or sets the transfer mode used for transfer operations.

C#
[ClientControlProperty]
public ListBoxTransferMode TransferMode { get; set; }
Property Value:

The transfer mode. The default value is Move

If the TransferMode property is set to Move the items would be deleted from the source listbox before inserting them in the destination listbox. The TransferMode property of the listbox whose TransferToID property is set is taken into account.

Gets or sets the ID of the RadListBox which the current listbox should transfer to. Set the TransferToID property only of one of the two listboxes which will transfer items between each other.

C#
public string TransferToID { get; set; }
Property Value:

The ID of the target listbox.

Gets the RadListBox which the current list box is configured to transfer to via the TransferToID property.

C#
[Browsable(false)]
public RadListBox TransferToListBox { get; }
Property Value:

The transfer to list box. null (Nothing) if the TransferToID property is not set.

Gets the unique, hierarchically qualified identifier for the server control.

C#
[ClientControlProperty]
[ClientPropertyName("_uniqueId")]
public override string UniqueID { get; }
Property Value:

The fully qualified identifier for the server control.

Overrides: Control.UniqueID

Gets the settings for the web service used to populate items.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public NavigationControlWebServiceSettings WebServiceSettings { get; }
Property Value:

An WebServiceSettings that represents the web service used for populating items.

Use the WebServiceSettings property to configure the web service used to populate items on demand. You must specify both Path and Method to fully describe the service.

In order to use the integrated support, the web service should have the following signature:

   <pre><code class="lang-csharp">[ScriptService]

public class WebServiceName : WebService { [WebMethod] public RadListBoxItemData[] WebServiceMethodName(object context) { // We cannot use a dictionary as a parameter, because it is only supported by script services. // The context object should be cast to a dictionary at runtime. IDictionary<string, object> contextDictionary = (IDictionary<string, object>) context;

    //...
}

}

Methods

C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)

Clears the checked items. The Checked property of all items is set to false.

C#
public virtual void ClearChecked()

Clears the selection. The Selected property of all items is set to false.

C#
public virtual void ClearSelection()
C#
protected override void CreateChildControls()

Overrides: Control.CreateChildControls()

C#
protected override ControlItemCollection CreateChildItemCollection()
Returns:

ControlItemCollection

Overrides: ControlItemContainer.CreateChildItemCollection()

C#
protected override IRenderer CreateControlRenderer()
Returns:

IRenderer

Overrides: RadDataBoundControl.CreateControlRenderer()

C#
protected override ControlItem CreateItem()
Returns:

ControlItem

Overrides: ControlItemContainer.CreateItem()

Deletes the specified list of items. Fires the Deleting and Deleted events.

C#
public virtual void Delete(IList<RadListBoxItem> items)
Parameters:itemsIList<RadListBoxItem>

The list of items which should be deleted.

The Delete method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
RadListBox1.Delete(RadListBox1.SelectedItems);

Deletes the specified item. Fires the Deleting and Deleted events.

C#
public void Delete(RadListBoxItem item)
Parameters:itemRadListBoxItem

The item which should be deleted.

The Delete method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: ControlItemContainer.DescribeComponent(IScriptDescriptor)

Finds the first item for which the specified predicate returns true.

C#
public RadListBoxItem FindItem(Predicate<RadListBoxItem> predicate)
Parameters:predicatePredicate<RadListBoxItem>

The predicate which will test all items.

Returns:

RadListBoxItem

The first item for which the specified predicate returns true. Null (Nothing) is returned if no item matches.

Example:
cs-api-definition
RadListBoxItem item = RadListBox1.FindItem(delegate(RadListBoxItem currentItem) {
return currentItem.Text.StartsWith("A");
});

Finds the first item whose Text property is the same as the specified text.

C#
public RadListBoxItem FindItemByText(string text)
Parameters:textstring

The text to search for.

Returns:

RadListBoxItem

The first item whose Text property is the same as the specified text. Null (Nothing) otherwise.

Finds the first item whose Value property is the same as the specified value.

C#
public RadListBoxItem FindItemByValue(string value)
Parameters:valuestring

The value to search for.

Returns:

RadListBoxItem

The first item whose Value property is the same as the specified value. Null (Nothing) otherwise.

Finds the index of the item whose Value property is the same as the specified value.

C#
public int FindItemIndexByValue(string value, bool ignoreCase)
Parameters:valuestring

The value.

ignoreCasebool

if set to true case insensitive comparison is made.

Returns:

int

The index of the item whose Value property is the same as the specified value. -1 if no item is found.

Finds the index of the item whose Value property is the same as the specified value.

C#
public int FindItemIndexByValue(string value)
Parameters:valuestring

The value.

Returns:

int

The index of the item whose Value property is the same as the specified value. -1 if no item is found.

Gets an array containing the indices of the currently checked items in the RadListBox control.

C#
public virtual int[] GetCheckedIndices()
Returns:

int[]

Gets an array containing the indices of the currently selected items in the RadListBox control.

C#
public virtual int[] GetSelectedIndices()
Returns:

int[]

Populates the RadListBox control from an XML file

C#
public void LoadContentFile(string xmlFileName)
Parameters:xmlFileNamestring

Name of the XML file.

Loads the posted content of the list control, if it is different from the last posting.

C#
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters:postDataKeystring

The key identifier for the control, used to index the postCollection.

postCollectionNameValueCollection

A NameValueCollection that contains value information indexed by control identifiers.

Returns:

bool

true if the posted content is different from the last posting; otherwise, false.

Overrides: RadDataBoundControl.LoadPostData(string, NameValueCollection)

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject

Overrides: ControlItemContainer.LoadViewState(object)

Raises the CheckAllCheck event.

C#
protected virtual void OnCheckAllCheck(RadListBoxCheckAllCheckEventArgs e)
Parameters:eRadListBoxCheckAllCheckEventArgs

The EventArgs instance containing the event data.

C#
protected virtual void OnDeleted(RadListBoxEventArgs e)
Parameters:eRadListBoxEventArgs
C#
protected virtual void OnDeleting(RadListBoxDeletingEventArgs e)
Parameters:eRadListBoxDeletingEventArgs

Raises the Dropped event.

C#
protected virtual void OnDropped(RadListBoxDroppedEventArgs e)
Parameters:eRadListBoxDroppedEventArgs

The RadListBoxDroppedEventArgs instance containing the event data.

Raises the Dropping event.

C#
protected virtual void OnDropping(RadListBoxDroppingEventArgs e)
Parameters:eRadListBoxDroppingEventArgs

The RadListBoxDroppingEventArgs instance containing the event data.

Raises the Inserted event.

C#
protected virtual void OnInserted(RadListBoxEventArgs e)
Parameters:eRadListBoxEventArgs

The RadListBoxEventArgs instance containing the event data.

Raises the Inserting event.

C#
protected virtual void OnInserting(RadListBoxInsertingEventArgs e)
Parameters:eRadListBoxInsertingEventArgs

The RadListBoxInsertingEventArgs instance containing the event data.

Raises the ItemCheck event.

C#
protected virtual void OnItemCheck(RadListBoxItemEventArgs e)
Parameters:eRadListBoxItemEventArgs

The EventArgs instance containing the event data.

Raises the ItemCreated event.

C#
protected virtual void OnItemCreated(RadListBoxItemEventArgs e)
Parameters:eRadListBoxItemEventArgs

The RadListBoxItemEventArgs instance containing the event data.

Raises the ItemDataBound event.

C#
protected virtual void OnItemDataBound(RadListBoxItemEventArgs e)
Parameters:eRadListBoxItemEventArgs

The RadListBoxItemEventArgs instance containing the event data.

Raises the ItemsRequested event.

C#
protected virtual void OnItemsRequested(RadListBoxItemsRequestedEventArgs e)
Parameters:eRadListBoxItemsRequestedEventArgs

The RadListBoxItemsRequestedEventArgs instance containing the event data.

C#
protected override void OnPreRender(EventArgs e)
Parameters:eEventArgs

Overrides: RadDataBoundControl.OnPreRender(EventArgs)

Raises the Reordered event.

C#
protected virtual void OnReordered(RadListBoxEventArgs e)
Parameters:eRadListBoxEventArgs

The RadListBoxEventArgs instance containing the event data.

Raises the Reordering event.

C#
protected virtual void OnReordering(RadListBoxReorderingEventArgs e)
Parameters:eRadListBoxReorderingEventArgs

The RadListBoxReorderingEventArgs instance containing the event data.

Raises the SelectedIndexChanged event.

C#
protected virtual void OnSelectedIndexChanged(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

C#
protected virtual void OnTemplateNeeded(RadListBoxItemEventArgs e)
Parameters:eRadListBoxItemEventArgs

Raises the TextChanged event.

C#
protected virtual void OnTextChanged(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Raises the Transferred event.

C#
protected virtual void OnTransferred(RadListBoxTransferredEventArgs e)
Parameters:eRadListBoxTransferredEventArgs

The RadListBoxTransferredEventArgs instance containing the event data.

Raises the Transferring event.

C#
protected virtual void OnTransferring(RadListBoxTransferringEventArgs e)
Parameters:eRadListBoxTransferringEventArgs

The RadListBoxTransferringEventArgs instance containing the event data.

Raises the Updated event.

C#
protected virtual void OnUpdated(RadListBoxEventArgs e)
Parameters:eRadListBoxEventArgs

The RadListBoxEventArgs instance containing the event data.

Raises the Updating event.

C#
protected virtual void OnUpdating(RadListBoxUpdatingEventArgs e)
Parameters:eRadListBoxUpdatingEventArgs

The RadListBoxUpdatingEventArgs instance containing the event data.

C#
protected override void PerformDataBinding(IEnumerable data)
Parameters:dataIEnumerable

Overrides: ControlItemContainer.PerformDataBinding(IEnumerable)

C#
protected override void PerformSelect()

Overrides: DataBoundControl.PerformSelect()

C#
protected override void RaiseItemCreated(ControlItem item)
Parameters:itemControlItem

Overrides: ControlItemContainer.RaiseItemCreated(ControlItem)

C#
protected override void RaiseItemDataBound(ControlItem item)
Parameters:itemControlItem

Overrides: ControlItemContainer.RaiseItemDataBound(ControlItem)

C#
protected virtual void RaisePostBackEvent(string eventArgument)
Parameters:eventArgumentstring

Invokes the OnSelectedIndexChanged(EventArgs) method whenever posted data for the RadListBox control has changed.

C#
protected override void RaisePostDataChangedEvent()

Overrides: RadDataBoundControl.RaisePostDataChangedEvent()

C#
protected override void RaiseTemplateNeeded(ControlItem item)
Parameters:itemControlItem

Overrides: ControlItemContainer.RaiseTemplateNeeded(ControlItem)

C#
protected override void RenderContents(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.RenderContents(HtmlTextWriter)

Reorders the specified items with the specified offset. Fires the Reordering and Reordered events.

C#
public virtual void Reorder(IList<RadListBoxItem> items, int offset)
Parameters:itemsIList<RadListBoxItem>

The items.

offsetint

The offset.

he Reorder method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
//Move all selected items with one position down
RadListBox1.Reorder(RadListBox1.SelectedItems, 1);

Moves the item at old index to new index by calculating the offset. Fires the Reordering and Reordered events.

C#
public void Reorder(int oldIndex, int newIndex)
Parameters:oldIndexint

The old (current) index of the item.

newIndexint

The new index of the item.

The Reorder method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
//Reorder the first item to second place
RadListBox1.Reorder(0, 1);

Reorders the specified items to the specified index. Fires the Reordering and Reordered events.

C#
public virtual void ReorderToIndex(IList<RadListBoxItem> items, int targetIndex)
Parameters:itemsIList<RadListBoxItem>

The items.

targetIndexint

The target index.

The ReorderToIndex method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
//Move all selected items (first and second) to an index below them.
RadListBox1.ReorderToIndex(RadListBox1.SelectedItems, 3);

Moves the item at old index to new index. Fires the Reordering and Reordered events.

C#
public void ReorderToIndex(int oldIndex, int newIndex)
Parameters:oldIndexint

The old (current) index of the item.

newIndexint

The new index of the item.

The ReorderToIndex method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
//Reorder the first item to second place
RadListBox1.ReorderToIndex(0, 1);
C#
protected override object SaveViewState()
Returns:

object

Overrides: ControlItemContainer.SaveViewState()

Sets the Selected property of a RadListBoxItem after a page is posted back.

C#
protected void SetPostDataSelection(int selectedIndex)
Parameters:selectedIndexint

The index of the Item to select in the Items collection.

Sorts the items in the RadListBox.

C#
public void SortItems()
Example:
cs-api-definition
RadListBox1.Sort=RadListBoxSort.Ascending
RadListBox1.SortItems()

Transfers the specified list of items from the source to the destination listbox. Fires the Transferring and Transferred events.

C#
public virtual void Transfer(IList<RadListBoxItem> itemsToTransfer, RadListBox sourceListBox, RadListBox destinationListBox)
Parameters:itemsToTransferIList<RadListBoxItem>

The items to transfer.

sourceListBoxRadListBox

The source list box.

destinationListBoxRadListBox

The destination list box.

Always call the Transfer method of the RadListBox whose TransferToID property is set! The Transfer method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
RadListBox1.TransferToID = "RadListBox2";
//Transfers all items of RadListBox1 to RadListBox2
RadListBox1.Transfer(RadListBox1.Items, RadListBox1, RadListBox2);
//Transfers all items of RadListBox2 to RadListBox1. Notice that we do not use RadListBox2.Transfer
RadListBox1.Transfer(RadListBox2.Items, RadListBox2, RadListBox1);

Transfers the specified item from the source list box to the destination listbox. Fires the Transferring and Transferred events.

C#
public void Transfer(RadListBoxItem item, RadListBox sourceListBox, RadListBox destinationListBox)
Parameters:itemRadListBoxItem

The item to transfer.

sourceListBoxRadListBox

The source list box.

destinationListBoxRadListBox

The destination list box.

Always call the Transfer method of the RadListBox whose TransferToID property is set! The Transfer method updates the underlying datasource if the AllowAutomaticUpdates is set to true.

Example:
cs-api-definition
RadListBox1.TransferToID = "RadListBox2";
//Transfers the first item of RadListBox1 to RadListBox2
RadListBox1.Transfer(RadListBox1.Items[0], RadListBox1, RadListBox2);
//Transfers the first item of RadListBox2 to RadListBox1. Notice that we do not use RadListBox2.Transfer
RadListBox1.Transfer(RadListBox2.Items[0], RadListBox2, RadListBox1);

Events

Occurs when the checkAll item is checked

C#
public event RadListBoxCheckAllCheckEventHandler CheckAllCheck

Occurs when items are deleted.

C#
public event RadListBoxEventHandler Deleted

Occurs when items are deleted.

C#
public event RadListBoxDeletingEventHandler Deleting

Occurs after drag and drop

C#
public event RadListBoxDroppedEventHandler Dropped

Occurs before drag and drop

C#
public event RadListBoxDroppingEventHandler Dropping

Occurs when item is inserted.

C#
public event RadListBoxEventHandler Inserted

Occurs when item is inserted. Can be cancelled by setting the Cancel property to true.

C#
public event RadListBoxInsertingEventHandler Inserting

Occurs when an item is checked

C#
public event RadListBoxItemEventHandler ItemCheck

Occurs when item is created.

C#
public event RadListBoxItemEventHandler ItemCreated

The ItemCreated event occurs before ItemDataBound and after postback if ViewState is enabled. ItemCreated is not raised for items defined inline in the ASPX.

Occurs when item is data bound.

C#
public event RadListBoxItemEventHandler ItemDataBound

Use the ItemDataBound event to set additional properties of the databound items.

Example:
cs-api-definition
protected void RadListBox1_ItemDataBound(object sender, RadListBoxItemEventArgs e)
{
e.Item.ToolTip = (string)DataBinder.Eval(e.Item.DataItem, "ToolTipColumn");
}

Occurs when the control performs callback.

C#
public event RadListBoxItemsRequestedEventHandler ItemsRequested

Occurs when item is reordered.

C#
public event RadListBoxEventHandler Reordered

Occurs when item is reordered. Can be cancelled by setting the Cancel property to true.

C#
public event RadListBoxReorderingEventHandler Reordering

Occurs when the selected index has changed.

C#
public event EventHandler SelectedIndexChanged

Occurs before template is being applied to the item.

C#
public event RadListBoxItemEventHandler TemplateNeeded

The TemplateNeeded event is raised before a template is been applied on the item, both during round-trips (postbacks) and at the time data is bound to the control. The TemplateNeeded event is not raised for items which are defined inline in the page or user control.

The TemplateNeeded event is commonly used for dynamic templating.

Example:
cs-api-definition
protected void RadListBox1_TemplateNeeded(object sender, Telerik.Web.UI.RadListBoxItemEventArgs e)
{
string value = e.Item.Value;
if (value != null)
{
// if the value is an even number
if ((Int32.Parse(value) % 2) == 0)
{
var textBoxTemplate = new TextBoxTemplate();
textBoxTemplate.InstantiateIn(e.Item);
}
}
}

Occurs when text was changed.

C#
public event EventHandler TextChanged

Occurs when item is transferred.

C#
public event RadListBoxTransferredEventHandler Transferred

Occurs when item is transferred. Can be cancelled by setting the Cancel property to true.

C#
public event RadListBoxTransferringEventHandler Transferring

Occurs when items's sort order is updated during the reordering.

C#
public event RadListBoxEventHandler Updated

Occurs when items's sort order is updated during the reordering.

C#
public event RadListBoxUpdatingEventHandler Updating
In this article
DefinitionConstructorsRadListBox()PropertiesAllowAutomaticUpdatesAllowDeleteAllowReorderAllowTransferAllowTransferDuplicatesAllowTransferOnDoubleClickAriaLabelAutoPostBackAutoPostBackOnDeleteAutoPostBackOnReorderAutoPostBackOnTransferButtonSettingsCheckBoxesCheckedItemsClientChangesClientItemTemplateControlsCssClassFormatStringCultureDataKeyFieldDataKeysDataSortFieldEmptyMessageEmptyMessageTemplateEnableAriaSupportEnableDragAndDropEnableImageLazyLoadingEnableLoadOnDemandEnableMarkMatchesFooterFooterTemplateHeaderHeaderTemplateItemsItemTemplateLoadingPanelIDLocalizationLocalizationPathOnClientCheckAllCheckedOnClientCheckAllCheckingOnClientContextMenuOnClientDeletedOnClientDeletingOnClientDraggingOnClientDragStartOnClientDroppedOnClientDroppingOnClientItemCheckedOnClientItemCheckingOnClientItemDataBoundOnClientItemDoubleClickedOnClientItemDoubleClickingOnClientItemsRequestedOnClientItemsRequestFailedOnClientItemsRequestingOnClientLoadOnClientMouseOutOnClientMouseOverOnClientReorderedOnClientReorderingOnClientSelectedIndexChangedOnClientSelectedIndexChangingOnClientTemplateDataBoundOnClientTransferredOnClientTransferringPersistClientChangesSelectedIndexSelectedItemSelectedItemsSelectedValueSelectionModeShowCheckAllSortSortCaseSensitiveSupportsRenderingModeTransferModeTransferToIDTransferToListBoxUniqueIDWebServiceSettingsMethodsAddAttributesToRender(HtmlTextWriter)ClearChecked()ClearSelection()CreateChildControls()CreateChildItemCollection()CreateControlRenderer()CreateItem()Delete(IList<RadListBoxItem>)Delete(RadListBoxItem)DescribeComponent(IScriptDescriptor)FindItem(Predicate<RadListBoxItem>)FindItemByText(string)FindItemByValue(string)FindItemIndexByValue(string, bool)FindItemIndexByValue(string)GetCheckedIndices()GetSelectedIndices()LoadContentFile(string)LoadPostData(string, NameValueCollection)LoadViewState(object)OnCheckAllCheck(RadListBoxCheckAllCheckEventArgs)OnDeleted(RadListBoxEventArgs)OnDeleting(RadListBoxDeletingEventArgs)OnDropped(RadListBoxDroppedEventArgs)OnDropping(RadListBoxDroppingEventArgs)OnInserted(RadListBoxEventArgs)OnInserting(RadListBoxInsertingEventArgs)OnItemCheck(RadListBoxItemEventArgs)OnItemCreated(RadListBoxItemEventArgs)OnItemDataBound(RadListBoxItemEventArgs)OnItemsRequested(RadListBoxItemsRequestedEventArgs)OnPreRender(EventArgs)OnReordered(RadListBoxEventArgs)OnReordering(RadListBoxReorderingEventArgs)OnSelectedIndexChanged(EventArgs)OnTemplateNeeded(RadListBoxItemEventArgs)OnTextChanged(EventArgs)OnTransferred(RadListBoxTransferredEventArgs)OnTransferring(RadListBoxTransferringEventArgs)OnUpdated(RadListBoxEventArgs)OnUpdating(RadListBoxUpdatingEventArgs)PerformDataBinding(IEnumerable)PerformSelect()RaiseItemCreated(ControlItem)RaiseItemDataBound(ControlItem)RaisePostBackEvent(string)RaisePostDataChangedEvent()RaiseTemplateNeeded(ControlItem)RenderContents(HtmlTextWriter)Reorder(IList<RadListBoxItem>, int)Reorder(int, int)ReorderToIndex(IList<RadListBoxItem>, int)ReorderToIndex(int, int)SaveViewState()SetPostDataSelection(int)SortItems()Transfer(IList<RadListBoxItem>, RadListBox, RadListBox)Transfer(RadListBoxItem, RadListBox, RadListBox)EventsCheckAllCheckDeletedDeletingDroppedDroppingInsertedInsertingItemCheckItemCreatedItemDataBoundItemsRequestedReorderedReorderingSelectedIndexChangedTemplateNeededTextChangedTransferredTransferringUpdatedUpdating
Not finding the help you need?
Contact Support