The MvcUploader type exposes the following members.

Constructors

  Name Description
Public method MvcUploader
Initializes a new instance of the MvcUploader class

Methods

  Name Description
Public method Dispose
release the resources created by the uploader
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected method GetAdvancedOption(String)
Public method GetAdvancedOption(UploaderAdvancedOption)
Public method GetAttribute
GetAttribute
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetUploadedFile
Public method GetUploaderProvider
Public method GetValidatingFile
get the file which being validated when IsValidationRequest is true
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PreProcessRequest
Public method Render()()()()
Public method Render(TextWriter)
Protected method SetAdvancedOption(String, String)
Public method SetAdvancedOption(UploaderAdvancedOption, String)
Public method SetAttribute
SetAttribute
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method WriteValidationError(String)
Public method WriteValidationError(String, String)
Public method WriteValidationOK()()()()
Public method WriteValidationOK(String)

Properties

  Name Description
Public property AllowedFileExtensions
Gets or sets the allowed file extensions for uploading.
Public property AllowedFileMimeTypes
Public property AutoUseSystemTempFolder
A system temporary folder or temporary directory is a directory used to hold temporary files. By default, when Ajax Uploader detects TempDirectory propery is not set, it will automatically use the system temporary folder. if web.config sepcified the TempDirectory appSetting, this would not take effects. You can turn this feature off by setting it to "false".
Public property ButtonOnClickScript
JavaScript code that be executed when the browse button be clicked.
Public property CancelAllMsg
Gets or sets the "Cancel all Uploads" message.
Public property CancelButtonID
It allows the developers specify a server control to use as the cancel button of ajax uploader.
Public property CancelUploadMsg
Gets or sets the "Cancel upload" message.
Public property Context
get the HttpContext
Public property CurrentFileGuid
Public property DialogAccept
Gets or sets the mime filter for HTML5 dialog , for example , image/*
Public property DialogFilter
Gets or sets the current file name filter string, which determines the choices that appear in the file browser dialog box. Please note that only ValidateOption.AllowedFileExtensions property determine the allowed file extensions for uploading.
Public property EnableMimetypeChecking
Public property FileTooLargeMsg
Gets or sets the "File too large" message.
Public property FileTypeNotSupportMsg
Gets or sets the "file type not support" message.
Public property FlashUploadPage
set a special page for Flash - Integrated Windows Authentication chould be also set to web.config appSettings : AjaxUploader.FlashUploadPage (RichTextEditor.AjaxUploader.FlashUploadPage for RichTextEditor)
Public property FlashWarningImage
Gets or sets the FlashWarning Image.
Public property FormName Obsolete.
get the name and id of the uploader input field
Public property InputboxCSSText
Sets or retrieves the appearance of the file input control.
Public property InsertButtonID
It allows the developers specify a server control to use as the insert button of ajax uploader.
Public property InsertText
Gets or sets the insert text.
Public property IsValidationRequest
Public property ManualStartUpload
Gets or sets a boolean indicating whether Uploader automatically starts uploading as soon as a user selects a file.
Public property MaxFilesLimit
Gets or sets the maximum number of files that can be uploaded.
Public property MaxFilesLimitMsg
Gets or sets the "File too large" message.
Public property MaxSizeKB
Gets or sets the maximum allowed size of the file, in KB.
Public property MultipleFilesUpload
If true, the users are able to select multiple files in the file browser dialog then upload them at once.
Public property Name
get the name and id of the uploader input field
Public property NumFilesShowCancelAll
Public property PostBackEventReference
script code be executed when finish all tasks
Public property ProgressBarBackgroundImage
Gets or sets the background image for the ProgressBar control.
Public property ProgressBarBorderStyle
Specifies the border style for the ProgressBar control.
Public property ProgressBarHeight
The height of the Progress bar. Default is 15.
Public property ProgressBarStyle
Specifies the style that a ProgressBar uses to indicate the progress of an operation.
Public property ProgressCtrlID
It allows the developers specify a server control to use as the progress control of ajax uploader.
Public property ProgressInfoStyle
The style to be applied to the progress information.
Public property ProgressPanelWidth
The width of the Progress Panel. Default is 500.
Public property ProgressPicture
Gets or sets a progress fill picture for the ProgressBar control.
Public property ProgressTextID
It allows the developers specify a server control to show the progress text of ajax uploader.
Public property ProgressTextTemplate
Gets or sets the progress text template. %P% = percent,%T% = seconds remain,%F% = filename. %SEND% = uploaded size , %SIZE% = file size , %KBPS% means KB/s , %KBPS% = B/s For example : %F%.. %P% %SEND%/%SIZE% , %KBPS% , %T% seconds left.
Public property ResourceHandler
Public property ScriptSource
Public property ShowFrameBrowseButton
Gets or sets a boolean indicating whether Uploader should render a browse button for FireFox/Opera in Iframe Mode.
Public property ShowProgressBar
Gets or sets a value indicating whether the progress bar is displayed. The UploadModule must be installed to use this feature.
Public property ShowProgressInfo
Gets or sets a value indicating whether the progress information is displayed when uploading. The UploadModule must be installed to use this feature.
Public property TempDirectory
Specifies where AjaxUploader should put the temporary files.
Public property UploadCursor
Specifies the upload button built in cursor types.
Public property UploadingMsg
Gets or sets the "Uploading.." message.
Public property UploadProcessingMsg
Gets or sets the "upload is processing" message.
Public property UploadType
The global type of upload method to use.
Public property UploadTypePriority
set the priority for the addons for example , "Silverlight,Flash,HTML5"
Public property UploadUrl
Public property WindowsDialogLimitMsg
Gets or sets the message for windows file browse dialog 32K file name length limitation.

See Also