Upload
Properties
Enabled - Boolean
Directory - Boolean
DirectoryDrop - Boolean
Multiple - Boolean
ShowFileList - Boolean
Async - UploadAsyncSettings
Defines the Save action
Validation - UploadValidationSettings
Lists which file extensions are allowed to be uploaded
UrlGenerator - IUrlGenerator
Messages - IUploadMessages
TemplateId - String
Template - String
TemplateHandler - String
DropZone - String
Files - IList
Initializer - IJavaScriptInitializer
Events - IDictionary
Name - String
Id - String
ShouldSanitezeId - Boolean
ModelMetadata - ModelMetadata
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
ViewContext - ViewContext
ViewData - ViewDataDictionary
IsSelfInitialized - Boolean
IsInClientTemplate - Boolean
HasDeferredInitialization - Boolean
Selector - String
HasClientComponent - Boolean
Methods
WriteInitializationScript(System.IO.TextWriter)
Writes the initialization script.
Parameters
writer - System.IO.TextWriter
The writer object.
Serialize()
Render()
Renders the component.
VerifySettings()
ToHtmlString()
GetHtml(System.Boolean)
Parameters
includeScript - System.Boolean
GetInitializator()
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.