Skip to Content
Pro ASP.NET 4.5 in C#, Fifth Edition
book

Pro ASP.NET 4.5 in C#, Fifth Edition

by Adam Freeman, Matthew MacDonald, Mario Szpuszta
July 2013
Intermediate to advanced content levelIntermediate to advanced
1228 pages
34h 1m
English
Apress
Content preview from Pro ASP.NET 4.5 in C#, Fifth Edition

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. 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 is then able to correct the problems and submit the data again.

In our earlier examples, validation feedback from the server seemed responsive because the browser and the server are on the same device. In a deployed application, it can take several seconds for the browser to submit the form and get the validation errors. There ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning ASP.NET 4.5 in C#

Beginning ASP.NET 4.5 in C#

Matthew MacDonald
Pro C# 7: With .NET and .NET Core

Pro C# 7: With .NET and .NET Core

Andrew Troelsen, Philip Japikse

Publisher Resources

ISBN: 9781430242543Purchase book