By default RichTextEditor automatically detect the MIME type of the files you upload, and rejects the file if the file-extension does not match the mime type ("The file is corrupt or has an incorrect extension"). You can turn it off by setting this property to "false".

Namespace: RTE
Assembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public bool EnableMimetypeChecking { get; set; }
Visual Basic
Public Property EnableMimetypeChecking As Boolean
	Get
	Set
Visual C++
public:
property bool EnableMimetypeChecking {
	bool get ();
	void set (bool value);
}

See Also