RadAsyncUpload Shows All Files in IE10 and in IE8 it shows Allowed Extensions only

2 posts, 0 answers
  1. Mayur
    Mayur avatar
    34 posts
    Member since:
    Mar 2012

    Posted 09 May 2014 Link to this post

    I am using a radsyncupload in which i am uploading Images Files but the problem is, in IE8 its showing my allow extensions files which is fine but for IE10 its showing my All Files,even in IE10 i want to show only images files filter.Here I have attached the file for more details.

    Here is code :

    <telerik:RadAsyncUpload runat="server" ID="FileUploadPortfolioLogo" Width="200px"
        MaxFileInputsCount="1" EnableInlineProgress="false" OnClientFileUploaded="checkFileExt">
          <Localization Select="Browse" />
                          <telerik:FileFilter Description="Images(jpeg;jpg;gif)" Extensions="JPEG,JPG,GIF,BMP,PNG,jpeg,jpg,gif,bmp,png" />

    Please Suggest

    With Regards.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 May 2014 in reply to Mayur Link to this post

    Hi Mayur,

    The File Filtering of RadAsyncUpload is available with Silverlight and Flash module only. FileAPI module is used in in IE10 . Please add the following JavaScript code to disable the FileAPI and IFrame module so that it will select Silverlight module where the File Filtering will works fine.


    Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable =
    function () { return false; };
    Telerik.Web.UI.RadAsyncUpload.Modules.IFrame.isAvailable = function () { return false; };

Back to Top