Support forums
in

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

Last post 08-14-2015, 2:54 AM by roblesjohnryan. 1 replies.
Sort Posts: Previous Next
  •  08-13-2015, 3:31 AM 80609

    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.  

     

     

     
  •  08-14-2015, 2:54 AM 80611 in reply to 80609

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

    Eureka!!!! Ok i know now the answer. The upload button was disabled by MVC 4 Modernizr JS. Remove the modernir and it will work. 
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems