I have a web page with a nuber of input fields that all have RegularExpressionValidatoers assigned to them.
I also have a number of buttons on my form but only one button where i would like the validation to apply. How do i allow the others buttons to function if an invalid input has been applied?
elodie1979
Member
96 Points
106 Posts
Regular Expression Validators
May 04, 2012 02:28 PM|LINK
Hi,
I have a web page with a nuber of input fields that all have RegularExpressionValidatoers assigned to them.
I also have a number of buttons on my form but only one button where i would like the validation to apply. How do i allow the others buttons to function if an invalid input has been applied?
Thanks
hans_v
All-Star
35986 Points
6550 Posts
Re: Regular Expression Validators
May 04, 2012 02:46 PM|LINK
Set the CausesValidation Property of those buttons to false!
elodie1979
Member
96 Points
106 Posts
Re: Regular Expression Validators
May 04, 2012 03:06 PM|LINK
Thanks that worked :)