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.
How do I access the ModelState from within my View (aspx page)?
use ViewContext.ViewData.ModelState
0 comments:
Post a Comment