We are using renderaction provided by MVC futures. We've noticed that HttpExceptions in child action methods are not propagated to the parent action. Even though a fragment h开发者_运维知识库as failed, we still see the parent request resulting in a 200, and this throws our error handling for a toss. Any suggestions on how this could be handled?
Thanks,
Varun
http://forums.asp.net/t/1529174.aspx
Don't use RenderAction() from Futures. Use the one provided in-box instead. RenderAction() was officially moved into the framework as of MVC 2 Beta, and this problem should have been fixed.
精彩评论