chuang4630
asked on
How to use group with RequiredFieldValidator?
There are three out of five fields are required on the ASPX page I am working on. There are also two different buttons. One is the LinkButton for AJAX pop up dialog, while the other is button "Save". How do I group those required fields so only the clicking of "SAVE" button will trigger the validation?
The link button for AJAX popup is for information only, so it should not validate any required fields.
The link button for AJAX popup is for information only, so it should not validate any required fields.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can do what pwrBall says or another way, is to set the ValidationGroup property of the save button and the field Validators