c# - Button onclick is not working -


i have asp.net button. performing 2 functions on it. first javascript confirmation , second server side code. here's button

<asp:button runat="server" onclick="btnproceed_click" usesubmitbehavior="false" cssclass="btn btn-even-more-dark" id="btnproceed" onclientclick="return confirm('are sure want place order?');" text="proceed checkout" style="width: 100%; background-color: #f5f5f5; color: black" /> 

earlier, server side button code wasn't firing helped me adding 'onsubmitbehaviour' attribute button , worked fine. when add onclientclick button, server side button code again not getting fired.

note: right onclientclick working , server side code not getting fired. want both of them work.

thanx in advance.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -