Forms in ASP.NET

  • Thread starter Thread starter czuvich
  • Start date Start date
C

czuvich

I was wondering if it was possible to have a Validator control only
validate controls in a page when certain submit buttons are pressed.
Basically, say I have have two functions in a page.. Search and Add. I
have two required fields for Add, but none for Search.... I have two
different submit buttons for search and add, but no matter which one I
hit, the form is still being validated. Any help? Thanks.
 
Back
Top