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

RadCheckBoxList class

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[EmbeddedSkin("Button")]
[EmbeddedSkin("Button", "Default")]
[RequiredScript(typeof(jQueryPlugins))]
[ClientScriptResource("Telerik.Web.UI.RadCheckBoxList", "Telerik.Web.UI.CheckBoxList.RadCheckBoxListScripts.js")]
[ToolboxBitmap(typeof(RadCheckBoxList), "Toolbox.Icons.Button.png")]
[TelerikToolboxCategory("Navigation")]
public class RadCheckBoxList : RadButtonList, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, ISkinnableControl, IControl, IFeatureGroup, IPostBackDataHandler, INamingContainer

Inheritance: objectControlWebControlBaseDataBoundControlDataBoundControlRadDataBoundControlRadButtonListRadCheckBoxList...

Implements: IAttributeAccessorIComponentIControlIControlBuilderAccessorIControlDesignerAccessorIControlResolverIDataBindingsAccessorIDisposableIExpressionsAccessorIFeatureGroupINamingContainerIParserAccessorIPostBackDataHandlerIScriptControlISkinnableControlIUrlResolutionService...

Inherited Members RadButtonList.isSelectedIndexChangedRadButtonList.OnSelectedIndexChanged(EventArgs)RadButtonList.OnItemDataBound(ButtonListEventArgs)RadButtonList.OnItemCreated(ButtonListEventArgs)RadButtonList.CreateControlRenderer()RadButtonList.AddAttributesToRender(HtmlTextWriter)RadButtonList.RenderContents(HtmlTextWriter)RadButtonList.CreateChildControls()RadButtonList.ControlPreRender()RadButtonList.LoadViewState(object)RadButtonList.SaveViewState()RadButtonList.TrackViewState()RadButtonList.DescribeComponent(IScriptDescriptor)RadButtonList.RaisePostDataChangedEvent()RadButtonList.SetSelectedItem(ButtonListItem)RadButtonList.SetSelectedIndex(int)RadButtonList.SetSelectedValue(string)RadButtonList.GetItem(string)RadButtonList.PerformDataBinding(IEnumerable)RadButtonList.TagKeyRadButtonList.CssClassFormatStringRadButtonList.SmartPasteDescriptionRadButtonList.AriaSettingsRadButtonList.AppendDataBoundItemsRadButtonList.AutoPostBackRadButtonList.CausesValidationRadButtonList.ClientEventsRadButtonList.DataBindingsRadButtonList.EnableAriaSupportRadButtonList.EnableEmbeddedBaseStylesheetRadButtonList.EnableEmbeddedSkinsRadButtonList.KeyboardNavigationSettingsRadButtonList.ItemsRadButtonList.LayoutRadButtonList.ColumnsRadButtonList.DirectionRadButtonList.ItemCountRadButtonList.SelectedIndexRadButtonList.SelectedValueRadButtonList.ValidationGroupRadButtonList.HeightRadButtonList.WidthRadButtonList.SelectedIndexChangedRadButtonList.ItemDataBoundRadButtonList.ItemCreatedDataBoundControl.OnCreatingModelDataSource(CreatingModelDataSourceEventArgs)DataBoundControl.CreateDataSourceSelectArguments()DataBoundControl.GetData()DataBoundControl.GetDataSource()DataBoundControl.MarkAsDataBound()DataBoundControl.OnDataPropertyChanged()DataBoundControl.OnDataSourceViewChanged(object, EventArgs)DataBoundControl.OnLoad(EventArgs)DataBoundControl.OnPagePreLoad(object, EventArgs)DataBoundControl.PerformSelect()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.OnPreRender(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.IsEnabledWebControl.SkinIDWebControl.TabIndexWebControl.TagNameWebControl.ToolTipControl.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.UniqueIDControl.HasChildViewStateControl.ControlsControl.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 RadCheckBoxList()

Properties

Gets a collection of all selected checkboxes by indices.

C#
[Browsable(false)]
[ClientControlProperty]
[ClientPropertyName("selectedIndices")]
public int[] SelectedIndices { get; }

Gets a collection of all selected checkbox items.

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

Gets a collection of all selected checkboxes by values.

C#
[Browsable(false)]
public string[] SelectedValues { get; }
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadButtonList.SupportsRenderingMode

Methods

C#
protected override CheckableButton CreateCheckableButton()
Returns:

CheckableButton

Overrides: RadButtonList.CreateCheckableButton()

Executed when post data is loaded from the request

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

bool

Overrides: RadButtonList.LoadPostData(string, NameValueCollection)

C#
protected override void SetCheckableButtonProperties(CheckableButton checkableButton, ButtonListItem item)
Parameters:checkableButtonCheckableButtonitemButtonListItem

Overrides: RadButtonList.SetCheckableButtonProperties(CheckableButton, ButtonListItem)