asp.net - Trying to fire onclick event asp:ImageButton -
my asp:imagebutton doest not fire onclick event on ie, working on chrome or firefox.
don't know if code right, here:
<asp:imagebutton id="savebtn" runat="server" onclick="save_click" tooltip="save" imageurl="images/save.png" />
using .net framework 3.5
note: ie10
just install .net framework 4.5
ie10 has bug.
ie10 incorrectly convert coordinates decimal rather integer. causes imagebutton clicks fail.
you try workaround, like:
- change imagebutton linkbutton , put button image inside of it.
your code this:
<asp:linkbutton id="savebtn" runat="server" onclick="save_click"> <asp:image id="image1" runat="server" imageurl="images/save.png" tooltip="save" /> </asp:linkbutton>
take here too.
Comments
Post a Comment