This is a migrated thread and some comments may be shown as answers.

Allowable upload file extensions

2 Answers 77 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 28 Jan 2009, 06:11 PM
How can I change the allowable upload file extensions for the document manager?

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 28 Jan 2009, 08:48 PM
Hello Roger,

You should set the SearchPatterns property to a string array which contains the file extension filters, e.g.

<telerik:RadEditor ID="RadEditor1" DocumentManager-SearchPatterns="*.txt,*.doc,*.pdf" />

The * character can be used as a wildcard in the extension, for example *.do* will match *.doc.


Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Roger
Top achievements
Rank 1
answered on 29 Jan 2009, 03:40 PM
Thanks Rumen, that did the trick!

Roger
Tags
Editor
Asked by
Roger
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Roger
Top achievements
Rank 1
Share this question
or