KTML 4 API Documentation for ASP .NET

Ktml.AllowedDocumentTypes Property

Array with the extensions allowed for upload as document files.

public string[] AllowedDocumentTypes {get; set;}

Remarks

Default values: *.doc, *.txt, *.pdf, *.csv, *.xls, *.rtf, *.sxw, *.odt

Example

    // C#
    MyKtmlEditor.AllowedDocumentTypes = new string[] {
        "*.doc", "*.pdf", "*.csv", 
        "*.xls", "*.rtf", "*.sxw", "*.odt"
    };
    ' VB.NET
    MyKtmlEditor.AllowedDocumentTypes = new [String]() {
        "*.doc", "*.pdf", "*.csv", 
        "*.xls", "*.rtf", "*.sxw", "*.odt"
    }

See Also

Ktml Class | InterAKT.WebControls Namespace