Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds


  Asked By: Ashan    Date: Dec 24    Category: Asp.net    Views: 522

I have used asp:RequiredFieldValidator in a couple places on one of my pages. I also have a few buttons that perform other functions (i.e. a pop up window that displays information in a grid). I only want the validation to fire off when I hit the save button. Right know it fires off when I click any of the buttons. how can I fix this?



1 Answer Found

Answer #1    Answered By: Aaron Kennedy     Answered On: Dec 24

set the causesvalidation property of the buttons  for which you dont want to do the validation  to false.

Didn't find what you were looking for? Find more on RequiredFieldValidator Or get search suggestion and latest updates.

Related Topics:


Related Post