Having problems with upload button in IE 10+ using ZK 5

asked 2015-03-20 16:57:10 +0800

antoniojimenez gravatar image antoniojimenez

Hi guys.

I'm having problems when I want to upload a file in IE 10+. When I try to click the upload button, it simply doesn't work. I have to click it several times and then it suddenly works (open the browse window to select file).

Here's a snip of the .zul file

<button id="btnUploadAttachedFile" label="Upload" upload="true,maxsize=10000" autodisable="btnUploadAttachedFile,buttonCreate"></button>

Someone can help me, please?

delete flag offensive retag edit


which version you use? you can try to search in the issue tracker system http://tracker.zkoss.org/secure/IssueNavigator.jspa

hawk ( 2015-03-23 01:18:45 +0800 )edit

Hi hawk, thanks for your response. I'm using ZK 5

antoniojimenez ( 2015-03-24 13:59:58 +0800 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2015-03-27 05:36:59 +0800

echarish gravatar image echarish flag of Japan
1809 7

I was also facing the same issue, i.e. on IE10 had to double click upload button to open upload file window. i found a solution as below.

if (navigator.userAgent.indexOf('MSIE 10') > 0) {
       $('#" + UploadJQuery.Id + "').bind('mousedown',function(event) {


I hope it will solve your issue also.

link publish delete flag offensive edit

answered 2015-03-22 13:32:52 +0800

Darksu gravatar image Darksu
1991 1 4

Hello antoniojimenez,

Could you please remove the autodisable and re-test the buttons functionality?

Also check if you have a 3rd app that could be blocking the application.

Best Regards,


link publish delete flag offensive edit

answered 2015-03-24 15:38:36 +0800

antoniojimenez gravatar image antoniojimenez

Hi Darksu.

I'm sorry for write here but I cannot put a comment on your answer (I don't know why). I tried removing the autodisable and it doesn't works yet. I suspect it could be because a CSS error, due to ZK5 is drawing the upload file component in a rare way. Also I checked and there is no a 3rd app blocking the application.

Best regards.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2015-03-20 16:57:10 +0800

Seen: 16 times

Last updated: Mar 27 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More