karthik80c
asked on
Asp.Net Button Error
Hi Experts ,
Hi am using asp.net button when i click the button i need to call js function first and if js returns true only then it has to call the backend code. But in my button both are called at same time
Thanks in Advance Experts
Hi am using asp.net button when i click the button i need to call js function first and if js returns true only then it has to call the backend code. But in my button both are called at same time
<asp:Button ID="Button2" runat="server" class="btn btn-default btn-xs" Text="Delete" OnClientClick=" confirm();" OnClick="Button2_Click" />
Thanks in Advance Experts
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.