For a list of all members of this type, see UploadModel members.
Name | Description | |
---|---|---|
AllowedExtensions | Sets the allowed file extensions. When this array is empty no such validation is made. | |
AutoStartUpload | Sets whether the file start upload automatically when it is selected. Default is false. | |
ClientEvents | Set implementations of client events raised by a widget. Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events. Examples: 1. Full implementation: new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } } 2. Content of inline function: new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } } 3. Name of global function: new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note: Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used. Example: new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
ControlId | Sets the uniqueId of the control. | |
ErrorMessageAJAXRequestFileSize | Sets error message when AJAX Request to get file size throws error. | |
ErrorMessageCancelUpload | Sets the error message shown when the ajax call that sends the cancel upload command throws an error. | |
ErrorMessageGetFileStatus | Sets the error message shown when the ajax call that gets the file status throws an error. | |
ErrorMessageMaxFileSizeExceeded | Sets the error message shown when the size of the uploaded file exceeds the maximum file size. | |
ErrorMessageMaxSimultaneousFiles | Sets error message when maximum simultaneous files is less or equeal to 0. | |
ErrorMessageMaxUploadedFiles | Sets error message when maximum allowed files exceeded. | |
ErrorMessageNoSuchFile | Sets the error message shown when the file is not found. | |
ErrorMessageOther | Sets the error message for other errors | |
ErrorMessageValidatingFileExtension | Sets error message when file extension validation failed. | |
FileExtensionIcons | Sets the css classes for icons. | |
FileSizeDecimalDisplay | Sets the number of digits after the decimal point. | |
FileSizeMetric | Sets the unit to be used for the file size metric. | |
Height | Sets the height of the main container of the upload. The main container contains all buttons, progressbar, etc. | |
HtmlAttributes | Sets custom attributes of the div on which the Upload widget will be created. | |
ID | Sets the ID of the div on which the Upload widget will be created. | |
LabelAddButton | Sets the label for the browse button in the main container. | |
LabelClearAllButton | Sets the label for summary Clear all button. It will be shown only in muliple upload mode. | |
LabelHideDetails | Sets the label for show/hide details button when main container is shown. | |
LabelProgressBarFileNameContinue | Sets the filename that will be shown when the name is must be shorten | |
LabelShowDetails | Sets the label for show/hide details button when main container is hidden. | |
LabelSummaryProgressBarTemplate | Sets the template for showing uploading information in summary progress bar. It will be shown only in multiple upload mode. $0 uploaded filesize. $1 - total file size. | |
LabelSummaryProgressButtonCancel | Sets the label for cancelling all files. Shown only in multiple upload mode. | |
LabelSummaryProgressButtonContinue | Sets the label for start upload batch files. Shown only in multiple upload mode and autostartupload is false. | |
LabelSummaryProgressButtonDone | Sets the label when upload is finished. Shown only in multiple upload mode. | |
LabelSummaryTemplate | Sets the template for showing summary template. $0 is count of uploaded files. $1 is total count of file to be uploaded. | |
LabelUploadButton | Sets the label for the first shown browse button. When file is selected for the first time this button is hidden. | |
Language | Gets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
Locale | Gets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
MaxFileSize | Gets or sets the maximum size(in bytes) allowed for the file to be uploaded. If it is set to null or -1 there is no limitation otherwise if the size(of the selected file) exceeds this value it is not allowed to be uploaded. This option is used for validation only on client side and only if the browser supports HTML5 file API and share information about the file size | |
MaxSimultaneousFilesUploads | Sets the number of files that could be uploaded at the same time. | |
MaxUploadedFiles | Sets the maximum number of allowed files to upload. | |
Mode | Sets whether the widget is multiple or single upload. | |
MultipleFiles | Get or set a bool setting that allows user to select(for upload) more than 1 file from the browse dialog at once. HTML 5+ - it is supported by Chrome, MOzilla FF, Safar, Opera latest versions and IE10+ | |
ProgressUrl | Sets the URL of HTTPHandler to get information about upload, current size and also to get commands. | |
Regional | Gets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
ShowFileExtensionIcon | Sets whether to show File Extension icon. | |
UploadUrl | Sets the URL for uploading. | |
Width | Set the width of the main container of the upload. The main container contains all buttons, progressbar, etc. |
Name | Description | |
---|---|---|
Store | Return the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase) |
View on GitHub