I just want to add some client side (JQuery Javascript) validation in a web user control. I put an OnClientClick handler and the function gets called. BUT, even if I return
Great answers. I do it this way. Same result- the OnClick event is not fired off if false is returned from Java function.
OnClientClick = "if (!ValidateDelete()) return false;" OnClick="btnDeleteSupplier_Click"