This comes up on the message boards quite frequently. The question normally starts out as, “How do I _________ with the _____ validation control?” Or, if they are really looking for a solution rather than an implementation, they’ll ask how to do it with the validation controls instead of one specific control.
Then somewhere in the course of the thread someone will say something like, “it’s situations like that that have caused me to not use the validation controls…” Most recently, it was an MVP who seems to be everywhere. But, an answer like this makes me question every answer he’s likely to give on the forum.
Are there some situations that are more difficult than others? Yes. Should we not use them at all because of those situations? Well, let’s do a cost benefit analysis: Continue reading “ASP.NET Validation Controls. Friend or Foe?”