Skip to main content
A newer version of this page is available. .
Tab

FileManagerSettingsUpload.Enabled Property

Gets or sets a value that indicates whether the upload panel is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public virtual bool Enabled { get; set; }

Property Value

Type Default Description
Boolean true

true if the upload panel is enabled; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 30 property paths
Object Type Path to Enabled
ASPxFileManager
.SettingsUpload .Enabled
HtmlEditorAudioSelectorSettings
.UploadSettings .Enabled
HtmlEditorDocumentSelectorSettings
.UploadSettings .Enabled
HtmlEditorFileManager
.SettingsUpload .Enabled
HtmlEditorFileManagerSettingsBase
.UploadSettings .Enabled
HtmlEditorFlashSelectorSettings
.UploadSettings .Enabled
HtmlEditorImageSelectorSettings
.UploadSettings .Enabled
HtmlEditorInsertAudioDialogSettings
HtmlEditorInsertAudioDialogSettings
.UploadSettings .Enabled
HtmlEditorInsertFlashDialogSettings
HtmlEditorInsertFlashDialogSettings
.UploadSettings .Enabled
HtmlEditorInsertImageDialogSettings
HtmlEditorInsertImageDialogSettings
.UploadSettings .Enabled
HtmlEditorInsertLinkDialogSettings
HtmlEditorInsertLinkDialogSettings
.UploadSettings .Enabled
HtmlEditorInsertVideoDialogSettings
HtmlEditorInsertVideoDialogSettings
.UploadSettings .Enabled
HtmlEditorSelectorSettings
.UploadSettings .Enabled
HtmlEditorVideoSelectorSettings
.UploadSettings .Enabled
RichEditDocumentSelectorSettings
.UploadSettings .Enabled
RichEditFileManager
.SettingsUpload .Enabled
RichEditFolderManager
.SettingsUpload .Enabled
SpreadsheetDocumentSelectorSettings
.UploadSettings .Enabled
FileManagerSettings
.SettingsUpload .Enabled
MVCxFileManager
.SettingsUpload .Enabled
MVCxHtmlEditorAudioSelectorSettings
.UploadSettings .Enabled
MVCxHtmlEditorDocumentSelectorSettings
.UploadSettings .Enabled
MVCxHtmlEditorFlashSelectorSettings
.UploadSettings .Enabled
MVCxHtmlEditorImageSelectorSettings
.UploadSettings .Enabled
MVCxHtmlEditorInsertAudioDialogSettings
MVCxHtmlEditorInsertAudioDialogSettings
.UploadSettings .Enabled
MVCxHtmlEditorInsertFlashDialogSettings
MVCxHtmlEditorInsertFlashDialogSettings
.UploadSettings .Enabled
MVCxHtmlEditorInsertImageDialogSettings
MVCxHtmlEditorInsertImageDialogSettings
.UploadSettings .Enabled
MVCxHtmlEditorInsertLinkDialogSettings
MVCxHtmlEditorInsertLinkDialogSettings
.UploadSettings .Enabled
MVCxHtmlEditorInsertVideoDialogSettings
MVCxHtmlEditorInsertVideoDialogSettings
.UploadSettings .Enabled
MVCxHtmlEditorVideoSelectorSettings
.UploadSettings .Enabled

Remarks

The file manager does not display the upload panel when the Enabled property is set to false.

Note

If you are experiencing the “Access is denied” or “Permission Denied” error during large file uploads to the IIS 5.x or Cassini Web Server, we recommend that you execute the following command at the server, to work around the problem:

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/security/requestFiltering -requestLimits.maxAllowedContentLength:<new-request-length>

Here, <new-request-length> is the new, larger value of the request length.

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsUpload ShowUploadPanel="true" Enabled="true" AutoStartUpload="true" />
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsUpload.ShowUploadPanel = true;
fm.SettingsUpload.Enabled = true;
fm.SettingsUpload.AutoStartUpload = true;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsUpload.ShowUploadPanel = true;
    settings.SettingsUpload.Enabled = true;
    settings.SettingsUpload.AutoStartUpload = true;
    ...
}).BindToFolder(Model).GetHtml()

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Enabled property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also