R
Raj
Hi,
I have a Web form on which there are two Radio buttons, AutoPostBack
Property for both is set to true.
Also there is a Javascript function attached to each of these radio
button.
The requirement is that if the javascript function returns false, I
don't want the Postback event to execute.
Currently the problem is that AutoPostBack is occuring irrrespectve of
the return value from javascript function.
How do I prevent the postback if the Javascript function returns false.
Thanks.
I have a Web form on which there are two Radio buttons, AutoPostBack
Property for both is set to true.
Also there is a Javascript function attached to each of these radio
button.
The requirement is that if the javascript function returns false, I
don't want the Postback event to execute.
Currently the problem is that AutoPostBack is occuring irrrespectve of
the return value from javascript function.
How do I prevent the postback if the Javascript function returns false.
Thanks.