Mondeo
Well-known member
I have an ASP.NET button click event. I want to do some validation and then if theres a problem display a javascript alert messagebox and exit the sub.
Ive got this working but the page posts back first and I get a blank screen with the alert box on, when I click OK the page loads.
How can I throw up this alert box without causing a postback? Is it possible?
Thanks
Ive got this working but the page posts back first and I get a blank screen with the alert box on, when I click OK the page loads.
How can I throw up this alert box without causing a postback? Is it possible?
Thanks