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

The editor for the GridDateTimeColumn column.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TelerikToolboxCategory("Data")]
public class GridDateTimeColumnEditor : GridTextColumnEditor, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IGridColumnEditor

Inheritance: objectControlGridColumnEditorBaseGridTextColumnEditorGridDateTimeColumnEditor

Implements: IComponentIControlBuilderAccessorIControlDesignerAccessorIDataBindingsAccessorIDisposableIExpressionsAccessorIGridColumnEditorIParserAccessorIUrlResolutionService...

Inherited Members GridTextColumnEditor.ToolTipGridColumnEditorBase.AddParsedSubObject(object)GridColumnEditorBase.EnsureControlsCreated()GridColumnEditorBase.InitializedInContainerGridColumnEditorBase.ContainerControlGridColumnEditorBase.IsInitializedGridColumnEditorBase.IsInEditModeGridColumnEditorBase.ControlsCreatedGridColumnEditorBase.ContainerItemControl.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#
public GridDateTimeColumnEditor()
C#
public GridDateTimeColumnEditor(GridDateTimeColumn owner)
Parameters:ownerGridDateTimeColumn

Properties

Gets or sets default path for the GridDateTimeColumnEditor images when EnableEmbeddedSkins is set to false.

C#
public string ImagesPath { get; set; }
Property Value:

A string containing the path for the grid images. The default is String.Empty.

Gets The text box instance created of extracted from a cell after calls to AddControlsToContainer or LoadControlsFromContainer methods.

C#
[Browsable(false)]
public RadDatePicker PickerControl { get; }

Gets the shared calendar used for all RadGrid picker controls.

C#
[Browsable(false)]
public RadCalendar SharedCalendar { get; }
Property Value:

The shared calendar used for all RadGrid picker controls.

Gets the shared time view used for all RadGrid controls using TimeView.

C#
[Browsable(false)]
public RadTimeView SharedTimeView { get; }
Property Value:

The shared time view used for all RadGrid controls using TimeView.

Gets or sets the cell text.

C#
[Browsable(false)]
public override string Text { get; set; }
Property Value:

The cell text.

Overrides: GridTextColumnEditor.Text

Gets The text box instance created of extracted from a cell after calls to AddControlsToContainer or LoadControlsFromContainer methods.

C#
[Browsable(false)]
public RadDateInput TextBoxControl { get; }

Gets the instace of the Style that would be applied to the TextBox control, when initializing in a TableCell.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style TextBoxStyle { get; }

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 override void AddControlsToContainer()

Overrides: GridColumnEditorBase.AddControlsToContainer()

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

C#
protected override void CreateControls()

Overrides: GridColumnEditorBase.CreateControls()

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 override void LoadControlsFromContainer()

Overrides: GridColumnEditorBase.LoadControlsFromContainer()

This method is should prepare the column editor to extract values from the edit controls residign in a TableCell of the grid.