Provides a base implementation for mobile column editors in a RadGrid.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class GridMobileColumnEditorBase : GridTextColumnEditor, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IGridColumnEditor
Inheritance: objectControlGridColumnEditorBaseGridTextColumnEditorGridMobileColumnEditorBase
Derived Classes:
Implements:
Inherited Members
Constructors
public GridMobileColumnEditorBase()
Fields
public ModelErrorMessage errorMessageValidator
public RequiredFieldValidator requiredFieldValidator
Properties
Get value if the editor has been initialized after an InitializeInControl or InitializeFromControl method call
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 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.