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

Displays a Checkbox control for each item in the column. This allows you to select TreeList items automatically when you change the status of the checkbox to checked.

If you choose AllowMultiItemSelection = true for the TreeList, a checkbox will be displayed in the column header to toggle the checked/selected stated of the items simultaneously (according to the state of that checkbox in the header).

To enable this feature you need to turn on the client selection of the grid (ClientSettings -> Selecting -> AllowItemSelection = true).

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class TreeListSelectColumn : TreeListColumn, IMarkableStateManager, IStateManager, IComparable

Inheritance: objectStateManagerTreeListColumnTreeListSelectColumn

Implements: IComparableIMarkableStateManagerIStateManager

Inherited Members TreeListColumn.InitializeCell(TableCell, int, TreeListItem)TreeListColumn.InitializeFooterCells(TableCell, int, TreeListFooterItem)TreeListColumn.IsUniqueName(string)TreeListColumn.GenerateUniqueNameBase(string)TreeListColumn.GenerateUniqueName()TreeListColumn.UpdateUniqueNameIfDefault(string)TreeListColumn.GetSortExpression()TreeListColumn.TrackViewState()TreeListColumn.SaveViewState()TreeListColumn.LoadViewState(object)TreeListColumn.OwnerTreeListColumn.DesignModeTreeListColumn.ColumnTypeTreeListColumn.HeaderTextTreeListColumn.HeaderTooltipTreeListColumn.FooterTextTreeListColumn.IsDefaultUniqueNameTreeListColumn.UniqueNameTreeListColumn.HeaderStyleTreeListColumn.ItemStyleTreeListColumn.VisibleTreeListColumn.SortableTreeListColumn.ResizableTreeListColumn.ReorderableTreeListColumn.MinWidthTreeListColumn.MaxWidthTreeListColumn.DisplayTreeListColumn.OrderIndexTreeListColumn.SortExpressionStateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Example:

            <telerik:TreeListSelectColumn UniqueName="SelectColumn" HeaderStyle-Width="40px" />
                

Constructors

C#
public TreeListSelectColumn()

Properties

Gets or sets the tooltip of each select checkbox

C#
public virtual string ToolTip { get; set; }

Methods

C#
[SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)")]
protected override void InitializeDataCells(TableCell cell, int columnIndex, TreeListDataItem inItem)
Parameters:cellTableCellcolumnIndexintinItemTreeListDataItem

Overrides: TreeListColumn.InitializeDataCells(TableCell, int, TreeListDataItem)

C#
[SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)")]
protected override void InitializeHeaderCells(TableCell cell, int columnIndex, TreeListHeaderItem inItem)
Parameters:cellTableCellcolumnIndexintinItemTreeListHeaderItem

Overrides: TreeListColumn.InitializeHeaderCells(TableCell, int, TreeListHeaderItem)