The editor for the GridDropDownColumn column.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class GridDropDownListColumnEditor : GridDropDownColumnEditor, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IGridColumnEditor
Inheritance: objectControlGridColumnEditorBaseGridDropDownColumnEditorGridDropDownListColumnEditor
Implements:
Inherited Members
Constructors
public GridDropDownListColumnEditor()
Properties
Gets the RadComboBox control places in the cell if the GridDropDownColumn DropDownControlType property is set to RadComboBox.
public RadComboBox ComboBoxControl { get; }
The RadComboBox control places in the cell if the GridDropDownColumn DropDownControlType property is set to RadComboBox.
Gets the DropDownList control places in the cell if the GridDropDownColumn DropDownControlType property is set to DropDownList.
public DropDownList DropDownListControl { get; }
The DropDownList control places in the cell if the GridDropDownColumn DropDownControlType property is set to DropDownList.
Gets the drop down style used for the drop down list control.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style DropDownStyle { get; }
The drop down style used for the drop down list control.
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 selected index of the drop down list control.
public override int SelectedIndex { get; set; }
The selected index of the drop down list control.
Overrides:
Gets or sets the selected text of the drop down list control.
public override string SelectedText { get; set; }
The selected text of the drop down list control.
Overrides:
Gets or sets the selected value of the drop down list control.
public override string SelectedValue { get; set; }
The selected value of the drop down list control.
Overrides:
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.