| GridAttachmentColumn Class |
Namespace: Kettic.AspNet.Controls
The GridAttachmentColumn type exposes the following members.
| Name | Description | |
|---|---|---|
| GridAttachmentColumn |
| Name | Description | |
|---|---|---|
| Clone | (Overrides GridColumnClone.) | |
| FillValues | (Overrides GridEditableColumnFillValues(IDictionary, GridEditableItem).) | |
| InitializeCell | (Overrides GridColumnInitializeCell(TableCell, Int32, GridItem).) | |
| IsBoundToFieldName | (Overrides GridColumnIsBoundToFieldName(String).) | |
| ShouldExtractValues | (Overrides GridEditableColumnShouldExtractValues(GridEditableItem).) | |
| StreamDownloadAttachment | ||
| SupportsFiltering | (Overrides GridColumnSupportsFiltering.) |
| Name | Description | |
|---|---|---|
| AllowedFileExtensions |
Gets or sets an array of file extensions that are allowed for uploading.
| |
| AllowFiltering |
Gets or sets whether the column data can be filtered. The default value is
true.
| |
| AttachmentDataField |
Gets or sets the name of the data field from the column's data source where the binary attachment data is stored.
| |
| AttachmentKeyFields |
Gets or sets a string, representing a comma-separated enumeration of DataFields
from the data source, that uniquely identify an attachment from the column's data source
| |
| ButtonCssClass |
Gets or sets the CssClass of the button
| |
| ButtonType |
Gets or sets a value indicating the type of the download button that will be rendered. The
type should be one of the specified by the GridButtonColumnType
enumeration.
| |
| DataSourceID |
A string, specifying the ID of the datasource control, which will be used to
retrieve binary data of the attachment.
| |
| DataTextField |
Gets or sets a value from the specified datasource field. This value will then be
displayed in the GridAttachmentColumn.
| |
| DataTextFormatString |
Gets or sets the string that specifies the display format for the caption in each
button.
| |
| FileName |
Gets or sets the file name of the attachment.
| |
| FileNameTextField |
Gets or sets the name of the field bound to the file name of the attachment.
| |
| FileNameTextFormatString |
Gets or sets the format string applied to the value bound to the FileNameTextField property
| |
| ImageUrl |
Gets or sets a value indicating the URL for the image that will be used in a
Image button. ButtonType should be set to
ImageButton.
| |
| IsEditable | (Overrides GridColumnIsEditable.) | |
| MaxFileSize |
Gets or sets the maximum allowed size (in bytes) of the uploaded attachment.
| |
| Text | Gets or sets a value indicating the text that will be shown for a button. |