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

The base class for all RadGrid column editors.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[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: GridAutoCompleteColumnEditorGridBoolColumnEditorGridDropDownColumnEditorGridRatingColumnEditorGridTemplateColumnEditorGridTextColumnEditorGridUploadColumnEditor...

Implements: IComponentIControlBuilderAccessorIControlDesignerAccessorIDataBindingsAccessorIDisposableIExpressionsAccessorIGridColumnEditorIParserAccessorIUrlResolutionService...

Inherited Members Control.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()Control.DataBind(bool)Control.DataBindChildren()Control.EnsureID()Control.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.LoadViewState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.SaveViewState()Control.Render(HtmlTextWriter)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.CreateChildControls()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.TrackViewState()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.EnableThemingControl.IsChildControlStateClearedControl.SkinIDControl.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#
protected GridColumnEditorBase()

Properties

Gets the instance of the Container control (generally a TableCell), after the last call of InstantiateInControl method

C#
[Browsable(false)]
public virtual Control ContainerControl { get; }

Implements: IGridColumnEditor.ContainerControl

C#
protected virtual GridEditableItem ContainerItem { get; }
C#
[Browsable(false)]
protected bool ControlsCreated { get; set; }
C#
protected bool InitializedInContainer { get; }

Get a value indicating whether the current row/column editor is in edit mode.

C#
[Browsable(false)]
public virtual bool IsInEditMode { get; }

Implements: IGridColumnEditor.IsInEditMode

Get value if the editor has been initialized after an InitializeInControl or InitializeFromControl method call

C#
[Browsable(false)]
public virtual bool IsInitialized { get; }

Implements: IGridColumnEditor.IsInitialized

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.

C#
protected abstract void AddControlsToContainer()
C#
protected override void AddParsedSubObject(object obj)
Parameters:objobject

Overrides: Control.AddParsedSubObject(object)

Create the input/edit controls belonging to the editor and prepare for AddControlsToContainer call.

C#
protected virtual void CreateControls()
C#
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.

C#
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.