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

Represents an editor for DateTime values, used as the default editor for the TreeListDateTimeColumn.

Definition

Constructors

C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TreeListDateTimeColumnEditor(TreeListEditableColumn column)
Parameters:columnTreeListEditableColumn

Properties

Gets a reference to the RadDateInput control used for editing the column.

C#
public RadDateInput DateInputControl { get; }

Gets a reference to the RadDatePicker control used for editing the column.

C#
public RadDatePicker DatePickerControl { get; }

Methods

Returns a collection of the edit values contained in the editor.

C#
public override IEnumerable GetValues()
Returns:

IEnumerable

An enumerable object holding the values.

Overrides: TreeListColumnEditor.GetValues()

Initializes the editor control.

C#
public override void Initialize(TreeListEditableItem editItem, Control container)
Parameters:editItemTreeListEditableItem

The TreeListEditableItem where the editor will be added.

containerControl

The container Control to which Controls collection the editor control will be added.

Overrides: TreeListColumnEditor.Initialize(TreeListEditableItem, Control)

C#
protected virtual void InitializeDatePickerControl()

Sets the edit values to the edit control.

C#
public override void SetValues(IEnumerable values)
Parameters:valuesIEnumerable

An enumerable collection containing the edit values.

Overrides: TreeListColumnEditor.SetValues(IEnumerable)