Thursday, April 28, 2011

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

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

From stackoverflow
  • use ViewContext.ViewData.ModelState

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

0 comments:

Post a Comment