CellFileUploaderAttrs Enumeration |
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [FlagsAttribute]
public enum CellFileUploaderAttrs
<FlagsAttribute>
Public Enumeration CellFileUploaderAttrs
Members
| Member name | Value | Description |
---|
| UploadHints | 1 | Do provide user with upload performance hints on the file browser dialog. |
| ApplyWidthToTextBox | 2 | Apply width to TextBox instead of entire control. |
| LockTextBox | 4 | Lock the filename textbox to prevent user from renaming file. See LockNamedFileTextBox to allow initial naming of scanner/webcam images. |
| LockNamedFileTextBox | 8 | Lock the filename textbox to prevent user from renaming file except to allow initial naming of scanner/webcam images. See LockNamedFileTextBox to always prevent renaming. |
| NoLabelLink | 64 | Do not make the field label a link when there is a related item. |
| LinkOnImageError | 128 |
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.
|
| ShowLink | 8192 | Show a file link intead place of the item's textbox. Requires that HideTextBox is also set. |
| HideTextBox | 16384 | Hide the item's TextBox. Typically set when no 'pretty' filename is not needed. May be combined with ShowLink. |
| AuditDownload | 8388608 | Record file download activity to the audit log. |
| Thumbnail | 16777216 | When combined with DisplayImage display a thumbnail version of the image for reduced bandwidth use. |
| DisplayImage | 33554432 | The related file is an image file and should be displayed in place. |
| NoImmediateSaveOnUpload | 67108864 |
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.
|
| AlwaysCreateDocument | 134217728 |
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