O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

As you have seen, Atlas comes with client-side validation controls. However, in comparison to ASP.NET validation controls, they lack some features. The use of the Atlas controls is a bit unusual compared to the server equivalents. They do not integrate in the form submission mechanism of the browser; meaning that the form can be submitted even though there are errors in the form. Finally, and most important, validation works only on the client side and only with JavaScript. Since ASP.NET validation controls work both on the server-side and on the client-side and therefore cannot be circumvented by disabling JavaScript, they are generally preferable—if they are an option. However, if the web site uses Atlas for all client-side effects, the Atlas validators integrate fine with other Atlas features.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required