OnClick will work on server side
OnClientClick will execute on client side before control passed to server.
If the client side code returns TRUE then it will go to server.
Generally programmers use onclientclick to validate the controls like textbox,etc.
OnClientClick will execute on client side before control passed to server.
If the client side code returns TRUE then it will go to server.
Generally programmers use onclientclick to validate the controls like textbox,etc.
No comments:
Post a Comment