Given an ASPX page with a textbox, a requiredfieldvalidator, and 2 buttons.

If I want to only have the requiredfieldvalidator validate that data is in the textbox if button1 is clicked but not button2, is my only option to set EnableClientScript to false and do validation on the postback?

Or have they implemented a way where you can still do the client side validation, but specify for it to only occur if button1 is clicked and not button2?