0

I have a new validator added to one screen to validate a text box. If user clicks on submit button, the validation summary will pop up but not showing the text of this validator. It works well with all other validators on this page.

In other words, this validator works but is not shown in the validation summary.

4
  • 2
    Post some code that reproduces the problem. Commented Oct 25, 2013 at 19:54
  • Are you using ValidationGroup Property with the validators? Commented Oct 25, 2013 at 19:59
  • I figured it out, I used the Text property of the validator instead of ErrorMessage property. Thanks for your comment @MichaelLiu
    – Cal
    Commented Oct 25, 2013 at 20:02
  • You ought to answer this yourself and mark that as the correct answer.
    – Tim
    Commented Oct 25, 2013 at 20:13

2 Answers 2

0

Check if you use the same name as the default validation group may not verification. I suggest you to check out her hard have added value.

0

I figured it out, I used the Text property of the validator instead of ErrorMessage property. Thanks for your comment @MichaelLiu which made me look at the code.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.