asp.net mvc - MVCContrib grid and posting back with model binder -
Comes to a strongly typed view of the content model of my MVCContrib grid. When a post is created, the contents of the grid are not in the model object, when it comes back to the controller. I can see that this is because the grid presents cells with text as just a table. Is there anything I can do so that when the post is done, will the data data sent to the grid come back in the post? You can use TempData to continue this information server side.
The information in TempData continues for a request. I really do not like this option.
Where is it already from Can not you replace your model with DB? If the user information is not changing, why do you need to post back all unchanged information?
Comments
Post a Comment