FileManagerUploadAdvancedModeSettings.EnableDragAndDrop Property
Specifies whether end-users can add files for upload by dragging them to the file container.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to EnableDragAndDrop |
---|---|
FileManagerSettingsUpload |
|
Remarks
Example
Web Forms (in markup):
<dx:ASPxFileManager ID="fileManager" runat="server" >
<SettingsUpload Enabled="true" UseAdvancedUploadMode="true" >
<AdvancedModeSettings EnableDragAndDrop="false" />
</SettingsUpload>
...
</dx:ASPxFileManager>
Web Forms (in code):
ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsUpload.Enabled = true;
fm.SettingsUpload.UseAdvancedUploadMode = true;
fm.SettingsUpload.AdvancedModeSettings.EnableDragAndDrop = false;
MVC:
@Html.DevExpress().FileManager( settings => {
settings.Name = "fileManager";
settings.SettingsUpload.Enabled = true;
settings.SettingsUpload.UseAdvancedUploadMode = true;
settings.SettingsUpload.AdvancedModeSettings.EnableDragAndDrop = false;
...
}).BindToFolder(Model).GetHtml()
See Also