views:

578

answers:

1

How do I access the ModelState from within my View (aspx page)?

+4  A: 

use ViewContext.ViewData.ModelState

Malcolm Frexner
I eventually figured it out on my own, but thanks Mathias.
Saajid Ismail