The base editor for GridAttachmentColumnEditor and GridBinaryImageColumnEditor.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Data")]
public abstract class GridUploadColumnEditor : GridColumnEditorBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IGridColumnEditor
Inheritance: objectControlGridColumnEditorBaseGridUploadColumnEditor
Derived Classes:
Implements:
Inherited Members
Constructors
public GridUploadColumnEditor()
Fields
protected GridEditableColumn owner
Properties
Gets the RadAsyncUpload control placed in the current cell editor.
public RadAsyncUpload RadAsyncUploadControl { get; }
The RadAsyncUpload control placed in the current cell editor.
protected byte[] RadAsyncUploadUploadedFileContent { get; }
protected byte[] RadUploadUploadedFileContent { get; }
protected abstract GridUploadControlType UploadControlType { get; }
Gets the content as byte Array of the uploaded file.
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public byte[] UploadedFileContent { get; }
The content as byte Array of the uploaded file.
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.