阅读背景:

MVC4 RenderViewToString不尊重移动视图

来源:互联网 

I'm building mobile views for an asp.net MVC4 site and have encountered a problem. We have quite a bit of places where we have a method to convert a view into a string but this method doesn't seem to work with displaymodes thus always finding the default view. E.g. index.cshtml instead of index.mobile.cshtml.I'm building mobile views for an asp.net MVC4 s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: