Hi all,
Karl: thanks for the info on the bug, you were dead on. Interesting to note
that the posters on that site blame ASP.Net for this.
In your post you note that if the URL for the image is not good, the
arguments do not pass. Note that if you hide the button (style:display:none),
you also get the negative result in Mozilla/Firefox/Netscpape, even if the
image URL/Src is good.
I had a similar situation which I will post for the sake of others searching:
I had an Html Server Control <input type="image" runat="server" ... on which
I put an onclick event handler as well as the onserverlick. I had another
image button on my page as well. In Mozilla/Netscape the button without the
client onclick submitted fine and it's server-side code would run, but not
the button with the client-side event handler. Note: All worked fine in IE!
The client side code "swapped" them image to another one (hiding the image
using style=dispay:none on the button before form submittal to prevent
multiple form submissions/double clicks) hence the lack of arguments to the
server side event handler.
I ended up not hding the button but placing another over top to catch the
clicks...and so it worked fine after that in all browsers.
Well I had a problem there too in that the Divs I was using wouldn't change
thier z-index in IE 6, but worked fine in Mozilla/Firefox/Netscape (I had the
position set to relative!) Oh well, after more searching I got my solution to
that.
Thanks,
Stephen
"Karl Seguin" wrote:
Jeff:
You didn't provide us with much detail (like sample code), but there is a
known bug in FireFox 1.0 where, if you leave the ImageUrl blank, postback
won't fire.
https://bugzilla.mozilla.org/show_bug.cgi?id=258621
So this is assuming you aren't specifying an image...
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
<je******@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com... I am having a strange problem on a web form. I have an image button
with an OnClick event handler. When I click the image the event isn't
being called in the code behind when browsing in firefox. I get the
postback but I never have the event called. It works fine in i.e.