Click or drag to resize

CellFileUploaderAttrs Enumeration

Cell attributes specific to FileUploader cells.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum CellFileUploaderAttrs
Members
  Member nameValueDescription
UploadHints1Do provide user with upload performance hints on the file browser dialog.
ApplyWidthToTextBox2Apply width to TextBox instead of entire control.
LockTextBox4Lock the filename textbox to prevent user from renaming file. See LockNamedFileTextBox to allow initial naming of scanner/webcam images.
LockNamedFileTextBox8Lock the filename textbox to prevent user from renaming file except to allow initial naming of scanner/webcam images. See LockNamedFileTextBox to always prevent renaming.
NoLabelLink64Do not make the field label a link when there is a related item.
LinkOnImageError128 Failure of the image to load will cause a link to the underlying file to be presented with this caption. This allows for use of non-image files (e.g. PDF files) somewhat like an image. Note that this is meaningful only if DisplayImage is set.
ShowLink8192Show a file link intead place of the item's textbox. Requires that HideTextBox is also set.
HideTextBox16384Hide the item's TextBox. Typically set when no 'pretty' filename is not needed. May be combined with ShowLink.
AuditDownload8388608Record file download activity to the audit log.
Thumbnail16777216When combined with DisplayImage display a thumbnail version of the image for reduced bandwidth use.
DisplayImage33554432The related file is an image file and should be displayed in place.
NoImmediateSaveOnUpload67108864 By default, the file upload will no longer execute an immediate save on upload. However a compatibility feature attribute ImmediateSaveOnUpload will revert the behavior of the field to perform an immediate save on the fields mapper, when a document is uploaded. This attribute can then be used to override the compatibility feature attribute ImmediateSaveOnUpload, to NOT perform an immediate save of the fields mapper on upload.
AlwaysCreateDocument134217728 By default, the file upload will always replace an existing document record in doc storage. However, in certain cases we want to keep a history of previously uploaded documents and we want a new document record to be created. If you don't make appropriate steps, the previous document will likely be orphaned from the record that was used to originally upload the document. If you want to make sure you can still get to the previously uploaded documents in doc storage, you will need to manually reference to the older documents (e.g. a related documents table)
See Also