开发者

Exception Causes ModelBinding To Fail

If I receive a generic error in my ASP.NET MVC 2.0 Beta app and catch it. I notice that the next time I post that the model returned to my post is always null. Do I need to clear out the ModelSt开发者_运维问答ate error or something?


We were pulling from TempData onModelCreated. When an error occured, TempData was cleared out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜