UploadControlSettings.ShowProgressPanel Property
Gets or sets a value that specifies whether the progress panel is displayed within the UploadControl.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true, if the progress panel is visible, otherwise, false. |
#Remarks
Use the ShowProgressPanel property to specify whether the progress panel (that contains the progress bar and cancel button) is visible within the UploadControl.
Note
The ASPx
Note
The Show
Note
If you are experiencing the “Access is denied” or “Permission Denied” error during large file uploads to the IIS 5.
%windir%\system32\inetsrv\appcmd.
Here, <new-request-length> is the new, larger value of the request length.
#Example
The example below demonstrates how to enable drag-and-drop support in the Upload Control extension and allow users to upload multiple files simultaneously:
@Html.DevExpress().UploadControl(settings => {
settings.Name = "UploadControl";
settings.ShowUploadButton = true;
settings.ShowProgressPanel = true;
settings.UploadMode = DevExpress.Web.UploadControlUploadMode.Advanced;
settings.AdvancedModeSettings.EnableMultiSelect = true;
settings.AdvancedModeSettings.EnableFileList = true;
settings.AdvancedModeSettings.EnableDragAndDrop = true;
}).GetHtml()