Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are you using ASP.NET validators versus a lighter mechanism?

0
Posted

Why are you using ASP.NET validators versus a lighter mechanism?

0

The short answer is that we found alot of benefit in what the platform provides. ASP.NET Validation is woven very tightly into the page itself. This means the page is aware of it’s validators and knows whether or not the it is in a valid state. Also the infrastructure provides summary controls and the like which can display the summary of all errors on the page. Having the ServerSideValidationExtender work with all ASP.NET Validators gives developers more options as to which validations they can make more responsive, and also allows leveraging the built-in ASP.NET infrastructure. We did consider the following alternative mechanisms which were rejected. • Emit client-side Javascript to do the validation for the Validation Application Block. When we looked at this, we determined that it was a significant effort above and beyond supporting ASP.NET validators. If we did this work it would have significantly impacted the rest of the deliverables for this release. Also we felt with emerging

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123