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

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

1 Answer 90 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Mayur
Top achievements
Rank 1
Mayur asked on 09 May 2014, 11:45 AM
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" />
           <FileFilters>
                      <telerik:FileFilter Description="Images(jpeg;jpg;gif)" Extensions="JPEG,JPG,GIF,BMP,PNG,jpeg,jpg,gif,bmp,png" />
              </FileFilters>
    </telerik:RadAsyncUpload>


Please Suggest


With Regards.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 May 2014, 05:41 AM
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.

JavaScript:


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

Thanks,
Shinu.
Tags
AsyncUpload
Asked by
Mayur
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or