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

how to filter out unwanted file types radupload

1 Answer 194 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Wize Owl
Top achievements
Rank 1
Wize Owl asked on 01 Jan 2010, 04:54 AM
I would like to filter out unwanted file types in the RadUpload control. This is not the same as the AllowedFileExtensions property as this is for validating, not displaying with the "SELECT" button. When the "SELECT" button is clicked, I want to only display files that are of the type I want filtered (such as .doc or .jpg, etc.) I have researched this for awhile now and cannot find any information on how to do this. Any help would be greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 04 Jan 2010, 01:46 PM
Hi Wize Owl,

Unfortunately, filtering the extensions is not possible due to the way browsers implement the <input type='file' />. This is browsers limitation, not RadUpload one. Since RadUpload relays on the stanrad input type = file, it inherits this fault.

The only way to have filtering, multiple file selection and other useful features, is to use Flash or Silverlight upload. Having said that, you might find this demo useful. It shows how to use Silverlight upload in an ASP.NET environment.



Greetings,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Upload (Obsolete)
Asked by
Wize Owl
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or