Search this Site
powered by
Google
Home
|
About Us
|
Blog
|
Link to Us
|
Contact Us
Shop at Our ASP.NET Store!
ASP.NET Resources
Tutorials & HOW TOs
ASP.NET Feeds
Articles
Blogs - ASP.NET Team
Blogs - Others
Forums
Microsoft KB Articles
ASP.NET Store
Books
Software
Videos
ASP.NET Directory
Applications
Articles & Samples
Components & Controls
Developer Sites
Hosting Services
Post your ASP Questions here!
Get
Web Parts for SharePoint
ASP web hosting on web-hosting-top.com
Cheap
email hosting
services
Find the best
asp.net hosting
providers offering .NET hosting services.
.NET Downloads
.NET Framework 4.0
Visual Studio 2010
Visual Web Dev 2010 Express
HOW TO: Implement Validation in ASP.NET MVC
Solution
Performing Simple Validation (C#)
by ASP.NET Team - using ModelState object.
Validating with the IErrorDataInfo Interface (C#)
by ASP.NET Team - using IErrorDataInfo interface.
Validating with Data Annotation Validators
by ASP.NET Team - using Data Annotations Model Binder.
See also:
ASP.NET MVC Tip #43 - Use Data Annotation Validators
by Stephen Walther
ASP.NET MVC Tip #42 - Use the Validation Application Block
by Stephen Walter - demonstrates how you can use the Microsoft Enterprise Validation Application Block within an MVC application to perform both basic and advanced form validation. The Validation Application Block supports a rich set of validators that you can begin using in an ASP.NET MVC application.
xVal - a validation framework for ASP.NET MVC
by Steven Sanderson - xVal is a validation framework for ASP.NET MVC applications. It makes it easy to link up your choice of server-side validation mechanism with your choice of client-side validation library.
ASP.NET MVC Tip #3: Client-side form validation made easy - Part 1
by Adrian Grigore (devermind.com) - using xVal.
Creating Client and Server-Side Form Validation using the Validator Toolkit for ASP.NET MVC
by Jurgen Baurle (CodeProject) - The Validator Toolkit is a simple and easy way to add client-side and server-side HTML form validation to the new ASP.NET MVC Framework. It is easy to extend the toolkit by adding custom validators.
Related Resources
MSDN: ModelState Class
MSDN: IDataErrorInfo Interface
MSDN: System.ComponentModel.DataAnnotations Namespace
CodePlex: xVal
CodePlex: Validator Toolkit for ASP.NET MVC
Add to favorites
|
Printable page
Home
|
About Us
|
Link to Us
|
Contact Us
Privacy Statement
© 2004-2012 ASPNETWorld.com