Click here to Skip to main content
15,887,464 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I have a button click event which is firing in IE 9 but not firing in IE 10? Any solution?
Posted
Comments
PRAKASH9 8-Apr-13 5:42am    
pls put your code for better solution
idhris2011 8-Apr-13 6:03am    
<asp:Button ID="btnSave" CssClass="btnPointer" runat="server" Text="Save" Width="99px"
OnClick="btnSave_Click" />


protected void btnSave_Click(object sender, EventArgs e)
{
some code here
}

Your code seems to be fine. It may be because of some Client Side Validation error. Try setting CausesValidation property to false for the Button.
Try this:
ASP.NET
<asp:button id="btnSave" cssclass="btnPointer" runat="server" text="Save" width="99px" causesvalidation="false" onclick="btnSave_Click" />


--Amit
 
Share this answer
 
v2
Comments
idhris2011 8-Apr-13 9:30am    
sorry , it didnt work.. i developed using .net 4.0, it works fine in IE 9 but fails in IE 10

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900