GridColumnEditorBase
The base class for all RadGrid column editors.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ToolboxBitmap(typeof(GridBoolColumnEditor), "Toolbox.Icons.Grid.png")]
[TelerikToolboxCategory("Data")]
public abstract class GridColumnEditorBase : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IGridColumnEditor
Inheritance: objectControlGridColumnEditorBase
Derived Classes:
Implements:
Inherited Members
Constructors
protected GridColumnEditorBase()
Properties
Gets the instance of the Container control (generally a TableCell), after the last call of InstantiateInControl method
[Browsable(false)]
public virtual Control ContainerControl { get; }
Implements:
protected virtual GridEditableItem ContainerItem { get; }
[Browsable(false)]
protected bool ControlsCreated { get; set; }
protected bool InitializedInContainer { get; }
Get a value indicating whether the current row/column editor is in edit mode.
[Browsable(false)]
public virtual bool IsInEditMode { get; }
Implements:
Get value if the editor has been initialized after an InitializeInControl or InitializeFromControl method call
[Browsable(false)]
public virtual bool IsInitialized { get; }
Implements:
Methods
Implement this member to create the edit controls in the grid cell. This method is called from each column's InitializeCell method, when a GridItem initializes its cells.
protected abstract void AddControlsToContainer()
Create the input/edit controls belonging to the editor and prepare for AddControlsToContainer call.
protected virtual void CreateControls()
protected virtual void EnsureControlsCreated()
This method should recrteate the state of the column editor (edit controls, etc) from the container. This method is called when ExtractValuesFromItem(IDictionary, GridEditableItem) method is called, or when GetColumnEditor(string) is called.
protected abstract void LoadControlsFromContainer()
This method is should prepare the column editor to extract values from the edit controls residign in a TableCell of the grid.