Menu

FileUpload problem with Chrome, Opera, Safari

Help
2008-09-20
2013-06-03
  • Paul Marculescu

    Paul Marculescu - 2008-09-20

    Hi,

    FileUpload control seems to not work in Chrome, Opera and Safari when other Anthem controls exist in the page.

    The behavior is similar to what's happening here:
    http://anthem.talloaksoftware.com/FileUpload.aspx

    If you access this page with one of the above mentioned browsers, the "+" button works only if you don't choose any file for the first upload control. Also the browser doesn't seem to get the answer back from the callback when uploading.

    I tried the above with Chrome 0.2.149.30, Opera 9.52 and Safari 3.1.2.

    I'm using Anthem.NET 1.5.0 for development, but since the above scenario involves an example page from the Anthem website, I suppose the issue is present in 1.5.2 also.

    Please let me know if there is any fix/workarround for this.

    Thank you,
    Paul Marculescu
    http://www.teamness.com

     
    • Andy Miller

      Andy Miller - 2008-09-20

      Hello Paul,

      I am no longer working on Anthem. But if you come up with a fix, I would be glad to include it in the project.

      Andy

       
    • Paul Marculescu

      Paul Marculescu - 2008-11-06

      Hi,

      It seems that postponing the removal of the iframe used in the onload event Anthem_HandleIOFrameResponse fixes the issue.

      So replacing line 106 from the file Anthem.js from the package version 1.5.2, which is now:
          setTimeout("document.body.removeChild(document.getElementById(\"" + frameid + "\"))", 10);
      with this:
          setTimeout("document.body.removeChild(document.getElementById(\"" + frameid + "\"))", 10000);
      solves the problem.

      Cheers,
      Paul Marculescu
      http://www.teamness.com

       
    • Andy Miller

      Andy Miller - 2009-03-04

      10 seconds is a long time. Perhaps there is an event that could be used to trigger the removeChild.

       

Log in to post a comment.