Click or drag to resize
GridAttachmentColumn Class
Inheritance Hierarchy
SystemObject
  Kettic.AspNet.ControlsGridColumn
    Kettic.AspNet.ControlsGridEditableColumn
      Kettic.AspNet.ControlsGridAttachmentColumn

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class GridAttachmentColumn : GridEditableColumn

The GridAttachmentColumn type exposes the following members.

Constructors
  NameDescription
Public methodGridAttachmentColumn
Top
Methods
Properties
  NameDescription
Public propertyAllowedFileExtensions
Gets or sets an array of file extensions that are allowed for uploading.
Public propertyAllowFiltering
Gets or sets whether the column data can be filtered. The default value is true.
Public propertyAttachmentDataField
Gets or sets the name of the data field from the column's data source where the binary attachment data is stored.
Public propertyAttachmentKeyFields
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 propertyButtonCssClass
Gets or sets the CssClass of the button
Public propertyButtonType
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 propertyDataSourceID
A string, specifying the ID of the datasource control, which will be used to retrieve binary data of the attachment.
Public propertyDataTextField
Gets or sets a value from the specified datasource field. This value will then be displayed in the GridAttachmentColumn.
Public propertyDataTextFormatString
Gets or sets the string that specifies the display format for the caption in each button.
Public propertyFileName
Gets or sets the file name of the attachment.
Public propertyFileNameTextField
Gets or sets the name of the field bound to the file name of the attachment.
Public propertyFileNameTextFormatString
Gets or sets the format string applied to the value bound to the FileNameTextField property
Public propertyImageUrl
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 propertyIsEditable (Overrides GridColumnIsEditable.)
Public propertyMaxFileSize
Gets or sets the maximum allowed size (in bytes) of the uploaded attachment.
Public propertyText
Gets or sets a value indicating the text that will be shown for a button.
Top
See Also