I have an aspx page in which i have 3 asp.net text boxes and 1 asp.net button control.I want to do a client side validation before the post back happens when i click on the button . ie ; If the the page passes the validation check,then only i need to invoke the server side button click event.Can any one help me ? Thanks in advance
Share
Define JS function:
call it on button control onclick event=”return DoValidation();”
If JS function will return false, postback will be canceled.