UploadType does not work in ie11(win8.1)

Last post 12-01-2013, 8:55 PM by friendmastor. 4 replies.
Sort Posts: Previous Next
  •  11-28-2013, 3:03 AM 78455

    UploadType does not work in ie11(win8.1)

     hi:

    the aspx server code like this:

     

    <CuteWebUI:Uploader  ***********  UploadType="IFrame" ></CuteWebUI:Uploader>

     

    the js function

    function CuteWebUI_AjaxUploader_OnSelect(files) {

          alert(files[0]._internaltask.file1.value);

     

    use ie 6,7,8,9,10 it works .the alert can show file's client full path not filename eg: c:\myfiles\1.txt

    use ie 11 ,it does not work , throw a js error . 'file1' miss。

    how can get the file client path in ie 11.....

     

    &

     

     

     

  •  11-28-2013, 8:24 AM 78456 in reply to 78455

    Re: UploadType does not work in ie11(win8.1)

    Hi friendmastor,

     

    1. Please download the latest build from http://ajaxuploader.com/download/Ajax-Uploader.zip 

     

    2. Use the code below to disable all upload modes except the IFrame, and try again.

     

     

    1. protected override void OnLoad(EventArgs e)  
    2.  {  
    3.      Uploader1.SetAdvancedOption(UploaderAdvancedOption.NoFlash, "true");  
    4.      Uploader1.SetAdvancedOption(UploaderAdvancedOption.NoSilverlight, "true");  
    5.      Uploader1.SetAdvancedOption(UploaderAdvancedOption.NoHtml5, "true");  
    6.      base.OnLoad(e);  
    7.  }  

    Regards,
     
    Ken 
  •  11-28-2013, 10:55 PM 78460 in reply to 78456

    Re: UploadType does not work in ie11(win8.1)

    hi Ken. 

    thank you very much,it works. the code can get the full path.

     

    but when  user click button,blow this control will show a [  <input name="Uploader1$File" type="file"> ]  html tag. it's not display=none... it's not very well.

     

    sp:

    NoFlash,NoSilverlight,NoHtml5,   both of these code must be used in Onload function...delete any line code is not  work.

     

  •  11-29-2013, 8:04 AM 78464 in reply to 78460

    Re: UploadType does not work in ie11(win8.1)

    Hi friendmastor,

     

    Only the iframe mode can get the upload file path from the client pc. On IE11, html5 mode will always replace the iframe, so the only way is disable all other modes except the iframe for it.

     

    for the <input name="Uploader1$File" type="file">, try add a style setting on your page to hide the control which has name  Uploader1$File.

     

    Regards,

     

    Ken 

  •  12-01-2013, 8:55 PM 78472 in reply to 78464

    Re: UploadType does not work in ie11(win8.1)

      Ok. I see.

     

     

      Regards

      f

View as RSS news feed in XML