PowerWEB File Upload for ASP.NET
FilterExtension Property
See Also  Send comments on this topic.
Dart.FileUpload Namespace > Upload Class : FilterExtension Property



A semi-colon delimited list of file extensions to allow. For example, \"*.jpg;*.gif\".

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<DartDescriptionAttribute("A semi-colon delimited list of file extensions to allow. For example, "*.jpg;*.gif".
When using Flash upload type, this filter will be enforced in the file dialog.  When using IFrame upload type, this will be globally enforced on the server according to the Extensions property of the UploadManager control.")>
Public Property FilterExtension As String
Visual Basic (Usage)Copy Code
Dim instance As Upload
Dim value As String
 
instance.FilterExtension = value
 
value = instance.FilterExtension
C# 
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[DartDescriptionAttribute("A semi-colon delimited list of file extensions to allow. For example, "*.jpg;*.gif".
When using Flash upload type, this filter will be enforced in the file dialog.  When using IFrame upload type, this will be globally enforced on the server according to the Extensions property of the UploadManager control.")]
public string FilterExtension {get; set;}
C++/CLI 
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[DartDescriptionAttribute("A semi-colon delimited list of file extensions to allow. For example, "*.jpg;*.gif".
When using Flash upload type, this filter will be enforced in the file dialog.  When using IFrame upload type, this will be globally enforced on the server according to the Extensions property of the UploadManager control.")]
public:
property String^ FilterExtension {
   String^ get();
   void set (    String^ value);
}

Property Value

The default value is "*.*".

Remarks

When using Flash upload type, this filter will be enforced in the file dialog.

When using IFrame upload type, this will be globally enforced on the server according to the Extensions property of the UploadManager control.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.3
© 2012 Dart Communications. All Rights Reserved.