Class tha implements data editing of a GridBoundColumn with a single TextBox control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class GridTextBoxColumnEditor : GridTextColumnEditor, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IGridColumnEditor
Inheritance: objectControlGridColumnEditorBaseGridTextColumnEditorGridTextBoxColumnEditor
Implements:
Inherited Members
Constructors
public GridTextBoxColumnEditor()
Properties
Get value if the editor has been initialized after an InitializeInControl or InitializeFromControl method call
[Browsable(false)]
public override bool IsInitialized { get; }
Overrides:
Gets or sets the cell text.
[Browsable(false)]
public override string Text { get; set; }
The cell text.
Overrides:
Gets The text box instance created of extracted from a cell after calls to AddControlsToContainer or LoadControlsFromContainer methods.
[Browsable(false)]
public TextBox TextBoxControl { get; }
Gets or sets the text box control MaxLength property.
public int TextBoxMaxLength { get; set; }
The text box control MaxLength property.
Gets or sets the text box control TextBoxMode property.
public TextBoxMode TextBoxMode { get; set; }
The text box control TextBoxMode property.
Gets the instace of the Style that would be applied to the TextBox control, when initializing in a TableCell.
[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.
protected override void AddControlsToContainer()
Overrides:
Create the input/edit controls belonging to the editor and prepare for AddControlsToContainer call.
protected override void CreateControls()
Overrides:
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 override void LoadControlsFromContainer()
Overrides:
This method is should prepare the column editor to extract values from the edit controls residign in a TableCell of the grid.
public override void SetOwner(IGridEditableColumn owner)
Overrides: