Click or drag to resize
GridAttachmentColumn Properties

The GridAttachmentColumn type exposes the following members.

Properties
  Name Description
Public property AllowedFileExtensions
Gets or sets an array of file extensions that are allowed for uploading.
Public property AllowFiltering
Gets or sets whether the column data can be filtered. The default value is true.
Public property AttachmentDataField
Gets or sets the name of the data field from the column's data source where the binary attachment data is stored.
Public property 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
Public property ButtonCssClass
Gets or sets the CssClass of the button
Public property 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.
Public property DataSourceID
A string, specifying the ID of the datasource control, which will be used to retrieve binary data of the attachment.
Public property DataTextField
Gets or sets a value from the specified datasource field. This value will then be displayed in the GridAttachmentColumn.
Public property DataTextFormatString
Gets or sets the string that specifies the display format for the caption in each button.
Public property FileName
Gets or sets the file name of the attachment.
Public property FileNameTextField
Gets or sets the name of the field bound to the file name of the attachment.
Public property FileNameTextFormatString
Gets or sets the format string applied to the value bound to the FileNameTextField property
Public 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.
Public property IsEditable (Overrides GridColumnIsEditable.)
Public property MaxFileSize
Gets or sets the maximum allowed size (in bytes) of the uploaded attachment.
Public property Text
Gets or sets a value indicating the text that will be shown for a button.
Top
See Also