21 – ASP.NET Validation Group



21 – ASP.NET Validation Group

21 - ASP.NET Validation Group

Sometimes you may have two independent forms that you want to validate but because the button control will trigger the validation process of all the controls in the page then you need to group only the controls that are meant to work with different buttons in a group. Once the ValidationGroup is set each form will be processed independent of what the other forms on the page. Submitting one form will not trigger the validation controls on the other form.

Comments are closed.