## Aurigma Image Uploader Flash 1.0

# Restrictions..::.FileFilters Property

- Collapse All Sections
- Restrictions Class
- Example
- See Also
- Language Filter ( all languages )

Gets or sets file filtering options.

Namespace: Aurigma.Uploader
Assembly: Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)

## Syntax

### Visual Basic

    Public Property FileFilters As String

### C#

    public string FileFilters { get; set; }

### Property Value

Type: System..::.String

A JSON formatted string containing the array of filtering options.

Default value is "[]".

## Examples

The code sample below demonstrates how to set three filtering options, namely, Images, Documents, and All files.

### ASP.NET

    <aur:ImageUploaderFlash ID="Uploader1" runat="server">
        <Restrictions FileFilters=
            "[['Images (*.jpg; *.jpeg; *.png; *.gif; *.bmp)', '*.jpg;*.jpeg;*.png;*.gif;*.bmp'],
              ['Documents (*.txt;*.rtf;*.pdf;*.doc;*.docx;*.xls;*.xlsx)', '*.txt;*.rtf;*.pdf;*.doc;*.docx;*.xls;*.xlsx'],
              ['All files (*.*)', '*.*']]"
        />
    </aur:ImageUploaderFlash>

## See Also

### Reference

- Restrictions Class
- Aurigma.Uploader Namespace
- $au.restrictions.fileFilters Java Script Property
- Restrictions.FileFilters PHP Property

### Manual

- Configuring Restrictions and File Filters