Table of Contents
AllowedExtension Property

Gets or sets a list of allowed file extensions for the AJAXUploader.

Syntax
 public String AllowedExtension { get; set; }
Remarks

By default user can upload files with any extension. You can use this property to restrict which extensions allowed. To specify multiple extensions, use "|" to separate them, for example, ".bmp|.jpg|.gif".

If this property is set and user choose to upload a file with an extension that is not in the list, ClientSideOnError will be called with extension_not_allowed as the error code.

See Also