| Dart.PowerWEB.TextBox Namespace > HtmlBoxUpload Class : FileTypeMustMatchFilter Property |
Gets or sets a value which indicates if file types not matching the current Filter are accepted.
[Visual Basic]
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
Public Property FileTypeMustMatchFilter As Boolean[C#]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public bool FileTypeMustMatchFilter {get; set;}[C++]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public: __property bool get_FileTypeMustMatchFilter();
public: __property void set_FileTypeMustMatchFilter(
bool value
);[C++/CLI]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public:
property bool FileTypeMustMatchFilter {
bool get();
void set (bool value);
}true if only file types matching the current filter are accepted; false if any file types are accepted. The default value is true.
The HtmlBoxUpload.Filter property specifies the types of files displayed in the "file browser" of the upload. If this property is true, all uploaded files will be compared to the HtmlBox.Filter property. If the file type does not match, the file is not uploaded and an error message is displayed.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
HtmlBoxUpload Class | HtmlBoxUpload Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.