0

Hi Guys

I have 2 buttons on my we page one is to save and other button to view a list ,i have applied field validator to validate form fields , but when i click the list button also the required field validator is activating how can i stop that ?
i want required field validator to activate only when i press save button

thanks
regards
sumith

3
Contributors
3
Replies
13
Views
3 Years
Discussion Span
Last Post by Sumith Asanka
0

If you show your code perhaps we'd be able to answer you. My crystal ball is cloudy.

0

Set the CausesValidation property to false on the controls you do not want to trigger validation. You can do it manually or use design view, click on the control, then properties view.

Edited by JorgeM

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.