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

Interface that describes the baseic column editor functionality, needed for a class that should be responsible for editing of a content of a cell in a GridEditableItem

Implement column editor to provide extended editing functionality in RadGrid. The column-editor inheritors should provide the methods for creating the column editor control inside the container (generally a grid TableCell). For example the default column editor for GridBoundColumn creates a TextBox control and adds it to the corresponding GridTableCell when the InstantiateInControl method is called. To inherit the base implementation of a column editor control in RadGrid you may consider deriving from GridColumnEditorBase instead implementing the IColumnEditor interface.

Definition

Properties

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

C#
Control ContainerControl { get; }

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

C#
bool IsInEditMode { get; }

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

C#
bool IsInitialized { get; }

Methods

The editor should recreate its state and input controls from the Container.

C#
void InitializeFromControl(Control containerControl)
Parameters:containerControlControl

control (generally a TableCell) that contains the input controls, previously instantiated within the InitializeInControl method call

Implement this member to add control in the given container. After the call to this method the ContainerControl property should return the instance of containerControl parameter passed to this function.

C#
void InitializeInControl(Control containerControl)
Parameters:containerControlControl
C#
void SetOwner(IGridEditableColumn owner)
Parameters:ownerIGridEditableColumn