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.
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.
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
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
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
10 seconds is a long time. Perhaps there is an event that could be used to trigger the removeChild.