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

This column appears when row resizing is enabled. It provides an easy location for users to click in order to resize the respective row. This column always appears immediately before the first data column.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridRowIndicatorColumn : GridColumn, IStateManager, IComparable

Inheritance: objectGridColumnGridRowIndicatorColumn

Implements: IComparableIStateManager

Inherited Members GridColumn.GetFilterDataField()GridColumn.SupportsFiltering()GridColumn.ShouldSerializeFilterImageUrl()GridColumn.ShouldSerializeSortAscImageUrl()GridColumn.ShouldSerializeSortDescImageUrl()GridColumn.RefreshCurrentFilterValue(GridFilteringItem, string)GridColumn.RefreshCurrentFilterValue(GridFilteringItem)GridColumn.SetCurrentFilterValueToControl(TableCell)GridColumn.GetCurrentFilterValueFromControl(TableCell)GridColumn.EvaluateFilterExpression(GridFilteringItem)GridColumn.EvaluateFilterExpression()GridColumn.FunctionTakesNoArguments(GridKnownFunction)GridColumn.SetupFilterControls(TableCell)GridColumn.GetFilterFunctionsList(GridFilterListOptions, ArrayList)GridColumn.PrepareCell(TableCell, GridItem)GridColumn.LoadViewState(object)GridColumn.OnColumnChanged()GridColumn.SaveViewState()GridColumn.TrackViewState()GridColumn.ResetCurrentFilterValue(GridFilteringItem)GridColumn.ResetCurrentFilterValue()GridColumn.GetDefaultGroupByExpression()GridColumn.IsUniqueName(string)GridColumn.GenerateUniqueNameBase(string)GridColumn.TrySetOnClientClickScript(Control, GridItem, string, params string[])GridColumn.UpdateUniqueNameIfDefault(string)GridColumn.CopyBaseProperties(GridColumn)GridColumn.IsBoundToFieldName(string)GridColumn.GetCustomPropertyDataFields(object)GridColumn.HeaderTooltipGridColumn.HeaderAbbrGridColumn.HeaderAxisGridColumn.SortedBackColorGridColumn.CurrentFilterValueGridColumn.AndCurrentFilterValueGridColumn.ColumnGroupNameGridColumn.SelectedGridColumn.SelectableGridColumn.SortableGridColumn.CurrentFilterFunctionGridColumn.AndCurrentFilterFunctionGridColumn.FilterDelayGridColumn.ExportableGridColumn.EnableHeaderContextMenuGridColumn.ShowFilterIconGridColumn.FilterListOptionsGridColumn.AutoPostBackOnFilterGridColumn.FilterImageToolTipGridColumn.FilterControlToolTipGridColumn.EditorControlToolTipGridColumn.FilterImageUrlGridColumn.SortAscImageUrlGridColumn.SortDescImageUrlGridColumn.DataTypeNameGridColumn.ListOfFilterValuesGridColumn.FilterTemplateGridColumn.TableViewSpecificStateGridColumn.DesignModeGridColumn.FooterStyleGridColumn.FooterTextGridColumn.HeaderImageUrlGridColumn.HeaderStyleGridColumn.HeaderTextGridColumn.IsTrackingViewStateGridColumn.ItemStyleGridColumn.OwnerGridColumn.SortExpressionGridColumn.GroupByExpressionGridColumn.ViewStateGridColumn.ShowSortIconGridColumn.ShowNoSortIconGridColumn.DisplayGridColumn.OwnerIDGridColumn.OwnerGridIDGridColumn.ColumnTypeGridColumn.HeaderButtonTypeGridColumn.OrderIndexGridColumn.IsEditableGridColumn.IsDefaultUniqueNameGridColumn.EditFormColumnIndexGridColumn.EditFormHeaderTextFormatGridColumn.DataTypeGridColumn.FilterControlWidthGridColumn.FilterCheckListWebServiceMethodGridColumn.FilterCheckListEnableLoadOnDemandobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridRowIndicatorColumn()

Properties

Gets or Sets the text value which should be added to alt attribute of the filter control

C#
public override string FilterControlAltText { get; set; }

Overrides: GridColumn.FilterControlAltText

Gets or sets a value indicating whether the column is groupable. Always false for row indicator columns.

C#
public override bool Groupable { get; set; }

Overrides: GridColumn.Groupable

Gets or sets a value indicating whether the column is reorderable. Always false for row indicator columns.

C#
public override bool Reorderable { get; set; }

Overrides: GridColumn.Reorderable

Gets or sets a value indicating whether the column is resizable.

C#
public override bool Resizable { get; set; }

Overrides: GridColumn.Resizable

Each column in Telerik RadGrid has an UniqueName property (string). This property is assigned automatically by the designer (or the first time you want to access the columns if they are built dynamically).

C#
[Browsable(true)]
public override string UniqueName { get; set; }

Overrides: GridColumn.UniqueName

You can also set it explicitly, if you prefer. However, the automatic generation handles most of the cases. For example a GridBoundColumn with DataField 'ContactName' would generate an UniqueName of 'ContactName'.

Additionally, there may be occasions when you will want to set the UniqueName explicitly. You can do so simply by specifying the custom name that you want to choose:

csharp
<radG:GridTemplateColumn UniqueName="ColumnUniqueName"></radG:GridTemplateColumn>
Example:
C#
<p>When you want to access a cell within a <strong>grid</strong> item, you
should use the following code to obtain the right cell:</p>
<p>TableCell cell = gridDataItem["ColumnUniqueName"];</p>
<p>or</p>
<p>gridDataItem["ColumnUniqueName"].Text =</p>
<p>to access the <strong>Text</strong> property</p>
<p>Using this property you can index objects of type
<strong>%</strong>GridDataItem:GridDataItem% or
<strong>%</strong>GridEditFormItem:GridEditFormItem% (or all descendants of
<strong>%</strong>GridEditableItem:GridEditableItem% class)</p>
<p>In events related to creating, binding or for commands in items, the event
argument has a property <strong>Item</strong> to access the item that event is
fired for. To get an instance of type <strong>GridDataItem</strong>, you should use
the following:</p>
<p>//presume e is the event argument object<br />
if (e.Item is GridDataItem)<br />
{<br />
GridDataItem gridDataItem = e.Item as GridDataItem;</p>

Gets or sets a value indicating whether the column is visible.

C#
public override bool Visible { get; set; }

Overrides: GridColumn.Visible

Methods

Creates a copy of the current GridRowIndicatorColumn instance.

C#
public override GridColumn Clone()
Returns:

GridColumn

Overrides: GridColumn.Clone()

C#
protected override string GenerateUniqueName()
Returns:

string

Overrides: GridColumn.GenerateUniqueName()

The Initialize method is inherited by a derived GridColumn class. Is is used to reset a column of the derived type.

C#
public override void Initialize()

Overrides: GridColumn.Initialize()

This method is mainly used to reset properties common for all column types derived from GridColumn class.

The Initialize method is usually called during data-binding, prior to the first row being bound.

Initializes the cell for the row indicator column.

C#
public override void InitializeCell(TableCell cell, int columnIndex, GridItem inItem)
Parameters:cellTableCellcolumnIndexintinItemGridItem

Overrides: GridColumn.InitializeCell(TableCell, int, GridItem)