Uploader Button was disabled in IE 9 but Working in IE 10 hosted in SharePoint 2013

  •  08-13-2015, 3:31 AM

    Uploader Button was disabled in IE 9 but Working in IE 10 hosted in SharePoint 2013

    Hi we have new MVC 4 Application hosted in our SharePoint Site 2013. We are having an issue when the Application was accessed in IE9 the uploader button was disabled but when it is accessed in IE10 there is no problem. Im already using the latest version of ajax uploader.

     

    I added below code on the head tag of my sharepoint master page and my mvc _layout mater page.

     <meta http-equiv="X-UA-Compatible" content="IE=8,IE=edge,chrome=1"/>

     <meta http-equiv="Pragma" content="no-cache"/>

    <meta http-equiv="Expires" content="-1"/> 

     

    Below are my code in Controller:

     

      using (CuteWebUI.MvcUploader uploader = new CuteWebUI.MvcUploader(System.Web.HttpContext.Current))
                        {
                            uploader.UploadUrl = Response.ApplyAppPathModifier("~/UploadHandler.ashx");
                      uploader.Name = "UploaderQA'
                            uploader.AllowedFileExtensions = fileExtensions;
                            uploader.MultipleFilesUpload = true;
                            uploader.InsertButtonID = "btnUploaderattachment";
                            uploader.ButtonOnClickScript = "buttonClick('#Uploader_QA')";
                            ViewData["UploaderAttachmentHtml"] = uploader.Render();
                        } 

     

    I also noticed that  the allowed file extension is no longer working in IE10.

     

    Please help.  

     

     

     
View Complete Thread