阅读背景:

为什么MVC会为完整视图和部分视图寻找.aspx和.ascx?

来源:互联网 

I've just been bitten by a problem where I have a view (FindUser.aspx) trying to render a partial view (FindUser.ascx). The default search paths for views look for a file named after the view in a variety of folders. Rather surprisingly, for views, it looks for a file with the extensions of .aspx or .ascx. And the partial views use the same list.I've just been bitten by a problem where I have




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

分享到: