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

HtmlEditorFileManagerCommonSettings.AllowedFileExtensions Property

Gets or sets the file extensions allowed for display in the ASPxHtmlEditor’s file selectors.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public override string[] AllowedFileExtensions { get; set; }

Property Value

Type Description
String[]

An array of String values that contains the file extensions allowed.

Property Paths

You can access this nested property as listed below:

Show 12 property paths
Library Object Type Path to AllowedFileExtensions
ASP.NET Controls and MVC Extensions HtmlEditorAudioSelectorSettings
.CommonSettings .AllowedFileExtensions
HtmlEditorDocumentSelectorSettings
.CommonSettings .AllowedFileExtensions
HtmlEditorFileManagerSettingsBase
.CommonSettings .AllowedFileExtensions
HtmlEditorFlashSelectorSettings
.CommonSettings .AllowedFileExtensions
HtmlEditorImageSelectorSettings
.CommonSettings .AllowedFileExtensions
HtmlEditorSelectorSettings
.CommonSettings .AllowedFileExtensions
HtmlEditorVideoSelectorSettings
.CommonSettings .AllowedFileExtensions
ASP.NET MVC Extensions MVCxHtmlEditorAudioSelectorSettings
.CommonSettings .AllowedFileExtensions
MVCxHtmlEditorDocumentSelectorSettings
.CommonSettings .AllowedFileExtensions
MVCxHtmlEditorFlashSelectorSettings
.CommonSettings .AllowedFileExtensions
MVCxHtmlEditorImageSelectorSettings
.CommonSettings .AllowedFileExtensions
MVCxHtmlEditorVideoSelectorSettings
.CommonSettings .AllowedFileExtensions

Remarks

Use the AllowedFileExtensions property to display in the file selectors (Audio Selector, Flash Selector, Image Selector, Document Selector, and Video Selector) files with the specified extensions only. Members of an array provided by the AllowedFileExtensions property are standard file extensions which begin with a dot symbol.

File extensions allowed for upload within the file selectors are specified by this property as well.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowedFileExtensions 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