T
ticars
I have a telephone number user control in which I need to validate the
data entered (Required field validation and regular expression
validation). The phone number is represented as 3 text boxes so I have
3 required field validation and regular expression validation controls.
I set the display property to none and have a validation summary
control in my hosting page. I have a method in the user control that
then assigns the error message and the validation group to these 6
controls. The problem I'm having is that if a user doesn't enter data
in any of the fields they get 3 duplicate error messages. Is there any
way to prevent duplicate messages from showing up in the validation
summary control???
data entered (Required field validation and regular expression
validation). The phone number is represented as 3 text boxes so I have
3 required field validation and regular expression validation controls.
I set the display property to none and have a validation summary
control in my hosting page. I have a method in the user control that
then assigns the error message and the validation group to these 6
controls. The problem I'm having is that if a user doesn't enter data
in any of the fields they get 3 duplicate error messages. Is there any
way to prevent duplicate messages from showing up in the validation
summary control???