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

Represents a column editor that provides a TextBox control for data editing.

Definition

Constructors

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

Properties

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

C#
public TextBox TextBoxControl { 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 InitializeTextBox()

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)