Is there a way of disabling postback when a validation error occurs?
Default behavior is to avoid postback by using client-side validation. Unless this behavior is somehow changed either by some setting or due to browser compatibility, the postback should not occur upon validation error. Also check to make sure the command source (button or linkbutton) has the CausesValidation set to true (which I believe is default value). I've verified this behavior using a simple GridView.
No comments:
Post a Comment