Do you have an entry ViewData["Body"]? MVC will also attempt to bind a control to a ViewData item based on the name.
GalacticCowboy
2009-05-31 00:28:34
Do you have an entry ViewData["Body"]? MVC will also attempt to bind a control to a ViewData item based on the name.
Check the View.ModelState property. Forms can grab values from there in certain circumstances.
The postback data is held in the ModelState. The built in HtmlHelper methods will look for values stored in the model state based on the name of the form element when rendering their content.