O'Reilly logo

Pro ASP.NET 4.5 in VB, Fifth Edition by Matthew MacDonald, Adam Freeman, Dan Mabbutt

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

CHAPTER 41

image

Client-Side Validation

In Chapter 34, we showed you how to use validation attributes with the model binding feature to ensure that the user submits valid data when creating model objects. In this final chapter, we will revisit this topic and look at client-side validation in more detail.

When using model binding, the form is shown to the user again if there are any problems with the data, along with a summary of those problems. The user can then correct the problems and submit the data again. Validation feedback from the server seemed responsive because the browser and the server are on the same device. In a deployed application it ...

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