MVC 部分视图在其 div 中渲染为完整视图
目前遇到很多问题。我们使用 asp.net mvc 2 以及 telerik mvc 扩展编写了一个 Web 应用程序。在这种情况下,我们遇到了标签条控件的问题。
我有一个用于加载部分视图的链接。该部分视图包含 Telerik 选项卡条。不幸的是,当在 IE7 和 IE8 中单击链接时,它不会按应有的方式刷新内容(如在其他浏览器中那样),而是由于某种原因在部分视图部分中显示整个页面。
我这里有一个屏幕截图:
有什么想法吗?我已经研究这个问题好几天了,如果我能得到任何帮助,我将不胜感激。
仅供参考,似乎没有 JavaScript 错误。
提前致谢!
Having a lot of problems at the moment. We have written a web application using asp.net mvc 2 as well as telerik mvc extensions. In this case we have a problem with the tab strip control.
I have a link that is meant to load a partial view. This partial view contains a telerik tab strip. Unfortunately, when the link is clicked in IE7 and IE8, instead of refreshing the contents as it should (as it does in other browsers), it instead for some reason displays the whole page, within the partial view section.
I have a screenshot here:
Any Ideas? I've been working on this problem for days and would appreciate any help whatsoever that I can get on this.
FYI there appears to be no javascript errors.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的部分视图不是生成为部分视图,而是生成为完整视图,
您的普通页面具有如下代码:
并且您的部分视图具有如下代码:
检查它...
your partial view is not generated as partial view but as full view
your normal page has code such as this:
and your partial view has code as this:
Check it...