1
Votes

Web 2.0 | Form validation with ASP.NET MVC

published 349 days, 51 minutes ago posted by farooqkaiserfarooqkaiser 358 days, 13 hours, 52 minutes ago
Monday, August 17, 2009 2:53:36 AM GMT Friday, August 07, 2009 1:52:29 PM GMT

This topic shows you the MVC features that support Form validation. When a user submits a form, the form data is passed to a controller action method by using the ViewDataDictionary collection. The ViewDataDictionary has a ModelState property that contains a collection of ModelState objects. For each model that is defined in an MVC application, the MVC framework creates a corresponding ModelState object and adds it to the collection. The action method that receives the form data defines the validation ru...

Category: Technology | Clicked: 0 | | Source: www.fairnet.com | show counter code
Tags: .NET 3.5, ASP.NET MVC

No comments yet, be the first one to post comment.

To post your comment please login or signup