The UploadModule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UploadModule |
Constructor.
|
Methods
Name | Description | |
---|---|---|
AppliedPersonalizationState | (Overrides BasePart..::..AppliedPersonalizationState(WebPart).) | |
btnUpload_Click | ||
CheckIfTargetFolderExists | ||
OnFileUploaded |
Raises the FileUploaded event on each file upload.
|
|
OnInit | (Overrides BasePart..::..OnInit(EventArgs).) | |
OnLoad | (Overrides BasePart..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) | |
SaveFile |
Saves a file retrieved from the remote URL.
|
|
SaveFiles |
Saves uploaded files. By default this method is called from the upload button click event handler, however it can be called directly when needed.
|
|
SetupProvider |
Setup default file system provider.
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
btnUpload |
btnUpload control.
|
|
fileGallery |
fileGallery control.
|
|
lblWarning |
lblWarning control.
|
|
pnlContainer |
pnlContainer control.
|
|
radUpload |
radUpload control.
|
Properties
Name | Description | |
---|---|---|
AllowedFileExtensions |
Gets or sets Upload module allowed file extensions.
|
|
ContentProviderTypeName |
Content provider type used for uploading files.
|
|
ControlObjectsVisibility |
Upload control objects visibility. Set to "None" to remove all additional UI elements like Add and Delete buttons from the upload field.
|
|
CustomProperties |
Gets or sets custom properties that are transfered to upload control.
|
|
EnableFileGallery |
Gets or sets a value indicating whether file gallery is enabled.
|
|
FileContentProvider |
File content provider.
|
|
Height |
Get or set Upload module height
|
|
InitialUploadItemCount |
Get or set initial upload item count
|
|
Localization |
Gets the upload module localization strings.
|
|
MaxFileInputsCount |
Maximum number of upload fields.
|
|
OverwriteExistingFiles |
Get or set if upload module should overwrite existing files
|
|
ParentEntityId |
Gets or sets the parent entity Id of the associated module.
|
|
ParentEntityType |
Gets or sets parent entity type (Note, message, album, ...) that is associated with this module.
|
|
SaveThumbnails |
Indicates if thumbails are saved for each upload.
|
|
ShowUploadButton |
Visibility of the upload button. When used in complex scenarios the upload button is sometimes not whoen and used, as the upload is performed on the main "Submit" button.
|
|
ShowUploadProgressBar | Obsolete.
Get or set if upload control should show upload progress bar
|
|
TargetFolder |
Get or set upload target folder - Virtual path (Note: Folder needs to have write permissions)
|
|
TargetPhysicalFolder |
Get or set upload target folder - Physical path (Note: Folder needs to have write permissions)
|
|
UploadedFiles |
Uploaded files collection.
|
|
UserReputationNewFileScore |
Gets or sets how much score user gets for new file submission.
|
|
Width |
Get or set Upload module width
|
Events
Name | Description | |
---|---|---|
FileUploaded |
File upload event.
|