Class MvcUploader
Compatibility helper for the old MVC integration pattern built on top of the v5 upload service.
Assembly: AjaxUploader.dll
Syntax
public class MvcUploader : IAjaxUploader, IDisposable
Constructors
MvcUploader(HttpContext)
Declaration
public MvcUploader(HttpContext context)
Parameters
Properties
AllowedFileExtensions
Declaration
public string AllowedFileExtensions { get; set; }
Property Value
AllowedFileMimeTypes
Declaration
public string AllowedFileMimeTypes { get; set; }
Property Value
AllowedFileRegExp
Declaration
public string AllowedFileRegExp { get; set; }
Property Value
AutoUseSystemTempFolder
Declaration
public bool AutoUseSystemTempFolder { get; set; }
Property Value
Declaration
public string ButtonOnClickScript { get; set; }
Property Value
CancelAllMsg
Declaration
public string CancelAllMsg { get; set; }
Property Value
Declaration
public string CancelButtonID { get; set; }
Property Value
CancelUploadMsg
Declaration
public string CancelUploadMsg { get; set; }
Property Value
Context
Declaration
public HttpContext Context { get; }
Property Value
CurrentFileGuid
Declaration
public Guid CurrentFileGuid { get; }
Property Value
DialogAccept
Declaration
public string DialogAccept { get; set; }
Property Value
DialogFilter
Declaration
public string DialogFilter { get; set; }
Property Value
DropZoneID
Declaration
public string DropZoneID { get; set; }
Property Value
EnableMimetypeChecking
Declaration
public bool EnableMimetypeChecking { get; set; }
Property Value
Declaration
public string FileTooLargeMsg { get; set; }
Property Value
FileTypeNotSupportMsg
Declaration
public string FileTypeNotSupportMsg { get; set; }
Property Value
FlashUploadPage
Declaration
public string FlashUploadPage { get; set; }
Property Value
FlashWarningImage
Declaration
public string FlashWarningImage { get; set; }
Property Value
Declaration
[Obsolete("Do not use .FormName , use .Name .", false)]
public string FormName { get; set; }
Property Value
InputboxCSSText
Declaration
public string InputboxCSSText { get; set; }
Property Value
Declaration
public string InsertButtonID { get; set; }
Property Value
InsertText
Declaration
public string InsertText { get; set; }
Property Value
IsValidationRequest
Declaration
public bool IsValidationRequest { get; }
Property Value
ManualStartUpload
Declaration
public bool ManualStartUpload { get; set; }
Property Value
MaxFilesLimit
Declaration
public int MaxFilesLimit { get; set; }
Property Value
MaxFilesLimitMsg
Declaration
public string MaxFilesLimitMsg { get; set; }
Property Value
MaxSizeKB
Declaration
public int MaxSizeKB { get; set; }
Property Value
MultipleFilesUpload
Declaration
public bool MultipleFilesUpload { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
NumFilesShowCancelAll
Declaration
public int NumFilesShowCancelAll { get; set; }
Property Value
PostBackEventReference
Declaration
public string PostBackEventReference { get; set; }
Property Value
ProgressBarBackgroundImage
Declaration
public string ProgressBarBackgroundImage { get; set; }
Property Value
ProgressBarBorderStyle
Declaration
public string ProgressBarBorderStyle { get; set; }
Property Value
ProgressBarColor
Declaration
public string ProgressBarColor { get; set; }
Property Value
ProgressBarHeight
Declaration
public int ProgressBarHeight { get; set; }
Property Value
ProgressBarStyle
Declaration
public ProgressBarType ProgressBarStyle { get; set; }
Property Value
ProgressCtrlID
Declaration
public string ProgressCtrlID { get; set; }
Property Value
ProgressInfoStyle
Declaration
public string ProgressInfoStyle { get; set; }
Property Value
ProgressPanelWidth
Declaration
public int ProgressPanelWidth { get; set; }
Property Value
ProgressPicture
Declaration
public string ProgressPicture { get; set; }
Property Value
ProgressTextID
Declaration
public string ProgressTextID { get; set; }
Property Value
ProgressTextTemplate
Declaration
public string ProgressTextTemplate { get; set; }
Property Value
QueuePanelID
Declaration
public string QueuePanelID { get; set; }
Property Value
ResourceHandler
Declaration
public string ResourceHandler { get; set; }
Property Value
ScriptSource
Declaration
public MvcUploaderScriptSource ScriptSource { get; set; }
Property Value
Declaration
public bool ShowFrameBrowseButton { get; set; }
Property Value
ShowProgressBar
Declaration
public bool ShowProgressBar { get; set; }
Property Value
ShowProgressInfo
Declaration
public bool ShowProgressInfo { get; set; }
Property Value
ShowQueueTable
Declaration
public bool ShowQueueTable { get; set; }
Property Value
TempDirectory
Declaration
public string TempDirectory { get; set; }
Property Value
UploadCursor
Declaration
public UploadCursor UploadCursor { get; set; }
Property Value
UploadProcessingMsg
Declaration
public string UploadProcessingMsg { get; set; }
Property Value
UploadType
Declaration
public UploadType UploadType { get; set; }
Property Value
UploadTypePriority
Declaration
public string UploadTypePriority { get; set; }
Property Value
UploadUrl
Declaration
public string UploadUrl { get; set; }
Property Value
UploadingMsg
Declaration
public string UploadingMsg { get; set; }
Property Value
WindowsDialogLimitMsg
Declaration
public string WindowsDialogLimitMsg { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
GetAdvancedOption(UploaderAdvancedOption)
Declaration
public string GetAdvancedOption(UploaderAdvancedOption name)
Parameters
Returns
GetAttribute(string)
Declaration
public string GetAttribute(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetTempDirectory()
Declaration
public string GetTempDirectory()
Returns
GetUploadedFile(Guid)
Declaration
public MvcUploadFile GetUploadedFile(Guid guid)
Parameters
| Type |
Name |
Description |
| Guid |
guid |
|
Returns
GetUploaderProvider()
Declaration
public UploaderProvider GetUploaderProvider()
Returns
GetValidatingFile()
Declaration
public MvcUploadFile GetValidatingFile()
Returns
PreProcessRequest()
Declaration
public void PreProcessRequest()
Render()
Declaration
Returns
Render(TextWriter)
Declaration
public void Render(TextWriter writer)
Parameters
SetAdvancedOption(UploaderAdvancedOption, string)
Declaration
public void SetAdvancedOption(UploaderAdvancedOption name, string value)
Parameters
SetAttribute(string, string)
Declaration
public void SetAttribute(string name, string value)
Parameters
WriteValidationError(string)
Declaration
public void WriteValidationError(string errormsg)
Parameters
| Type |
Name |
Description |
| string |
errormsg |
|
WriteValidationError(string, string)
Declaration
public void WriteValidationError(string errormsg, string serverdata)
Parameters
WriteValidationOK()
Declaration
public void WriteValidationOK()
WriteValidationOK(string)
Declaration
public void WriteValidationOK(string serverdata)
Parameters
| Type |
Name |
Description |
| string |
serverdata |
|
Implements