Section 5.3. Summary


5.3. 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 preferableif 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.




Programming Atlas
Programming Atlas
ISBN: 0596526725
EAN: 2147483647
Year: 2006
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net