In my asp.net page, I have three text boxes and one button.
First two text boxes are being used to get the value from the user and third one is being used to show the sum of first two boxes.
I am calling a javascript function to sum the values and show the result value on OnClientClick
event of that BUTTON.
JS function is working fine but when I am pressing button to get the sum, it shows the result in third text box and just then the page is being post-back and result value becomes disappear from the third text box.
Why the post-back is called by the button?
I don't want page to be post-backed on click of submit button.
Any suggestion is appreciated.