From client, force whole page validation

Posted by George on Stack Overflow See other posts from Stack Overflow or by George
Published on 2010-05-14T04:33:31Z Indexed on 2010/05/14 5:04 UTC
Read the original article Hit count: 162

I have an ASP button for which I have set the OnClientClick property to display a javascript confirm message. However, I only want this message to be displayed AFTER all of the client side validations have passed.

How can I do this? Essentially, I believe that I need to force Page level validation from the client and then, only if it passes, display the confirmation box.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about vb.net