IUploadFileConstraints.AllowedExtensions property

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Semicolon separated list of allowed file extensions, like ".xlsx;.docx;.jpg" etc. If specified, only allow files with these extensions. This is currently only used by the upload behavior, the editor and temporary upload does not yet use this setting.

public string AllowedExtensions { get; }

See Also