What does the MVC Controller.UpdateModel<T>(T) actually try to do?
- by unanswered
When I submit my MVC Page I get an IvalidOperationException from System.Web.Mvc Controller object in the UpdateModel method.
the MSDN documentation states that this method does the following:
Updates the specified model instance using values from the controller's current value provider.
Is the value provider referencing the current Request object?
Or where exactly does it get the values that it is using to update the model?
And what specifically does the UpdateModel method check and what does it 'mean' when it says that
The model of type 'abcXYZ' was not successfully updated
Thanks