Form validation with ASP.NET MVC(fairnet.com)
submitted by
ebizdom(315) 2 years, 6 months ago
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.
|category: MVC
|Views: 23
tags:
MVC another
Everyones tags:
Your Tags: