Button to select files for uploading unavailable in IE

Last post 07-26-2012, 1:04 PM by dpellerin. 22 replies.
Page 2 of 2 (23 items)   < Previous 1 2
Sort Posts: Previous Next
  •  07-20-2012, 7:59 AM 74186 in reply to 74175

    Re: Button to select files for uploading unavailable in IE

    Hi tandem  ,
     
    Your page  http://peritaciones.tandemcr.com/pruajaxuploader/default.aspx works fine on my IE 9 browser.
     
    If your ie using the "Quirks" mode, please change it to others and try again. (F12-->Document Mode)
     
     
     
    Another way is disable the silverlight upload mode when the user using the IE 9 browser.
     
    Please try the example below, it should works for you.
     
    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head id="Head1" runat="server">  
    7. </head>  
    8.   
    9. <script runat="server">  
    10.     protected override void OnLoad(EventArgs e)  
    11.     {  
    12.         if (Request.UserAgent.IndexOf("MSIE 9") != -1)  
    13.         {  
    14.             uploader1.SetAdvancedOption(UploaderAdvancedOption.NoSilverlight, "true");  
    15.         }  
    16.   
    17.         base.OnLoad(e);  
    18.     }  
    19. </script>  
    20.   
    21. <body>  
    22.     <form id="Form1" runat="server">  
    23.         <CuteWebUI:UploadAttachments ID="uploader1" runat="server">  
    24.         </CuteWebUI:UploadAttachments>  
    25.     </form>  
    26. </body>  
    27. </html>  
    Regards,
     
    Ken 
  •  07-22-2012, 2:30 AM 74191 in reply to 74186

    Re: Button to select files for uploading unavailable in IE

    Hi Kenneth
     
    Your solution seems to work for me by now. I really don't understand why I can't use silverlight mode with IE, but the important thing is that now it's working.
     
    Thank you very much for your quick answer.
     
    Best regards
  •  07-26-2012, 1:04 PM 74278 in reply to 74186

    Re: Button to select files for uploading unavailable in IE

    I had this same issue. In my case I found that Silverlight was conflicitng with JQuery. Using your solution corrected the issue. Also disabling JQuery worked as well.
     
    Dana
     
Page 2 of 2 (23 items)   < Previous 1 2
View as RSS news feed in XML