Form validation with ASP.NET MVC release candidate
Read OriginalThis technical article provides a step-by-step guide to adding form validation in ASP.NET MVC RC. It demonstrates extending a LINQ to SQL entity with IDataErrorInfo, creating a view with validation helpers, and using UpdateModel in a controller to leverage the validation interface for checking required fields like FirstName and LastName.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser