how to filter out unwanted file types radupload

Thread is closed for posting
2 posts, 0 answers
  1. Wize Owl
    Wize Owl avatar
    4 posts
    Member since:
    Dec 2009

    Posted 31 Dec 2009 Link to this post

    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.
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 04 Jan 2010 Link to this post

    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.

    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.
Back to Top