Asp.net mvc mvc.net中嵌入的SSRS报告在除IE以外的所有浏览器上显示。如何在IE中显示?
我了解到MVC.NET不支持在视图页面中嵌入SSRS报告 我不想学习关于混合web表单、旧技术和mvc.net的复杂教程,我找到了另外两种选择:Asp.net mvc mvc.net中嵌入的SSRS报告在除IE以外的所有浏览器上显示。如何在IE中显示?,asp.net-mvc,internet-explorer,reporting-services,Asp.net Mvc,Internet Explorer,Reporting Services,我了解到MVC.NET不支持在视图页面中嵌入SSRS报告 我不想学习关于混合web表单、旧技术和mvc.net的复杂教程,我找到了另外两种选择: 使用IFRAME 使用标签 代码: 它表现得很好 我还尝试在没有任何div的情况下嵌入iframe或object标记,结果相同 以下是fiddler的输出,显示在IE中甚至没有调用SSRS URL: 有人能帮忙吗?我发现了问题: 需要从src中删除“用户:密码” 在我的代码中,通过一个参数(@Html.Raw(parm))访问了整个URL,Razor
研究人员&;rs
结果发现IE在嵌入时不能吃那个
请注意,在修复所有问题后,我发现了一个新问题,即仅在IE中呈现的报告没有正确地水平展开
这是一个已知的MS问题:
<div class="reports">
<iframe src="http://user:password@10.10.139.110/ReportServer/Pages/ReportViewer.aspx?%2fResearchers&rs:Command=Render"></iframe>
</div>
<div class="reports">
<object class="reportsObject" type="text/html" data="http://user:password@10.10.139.110/ReportServer/Pages/ReportViewer.aspx?%2fResearchers&rs:Command=Render">
</object>
</div>
http://user:password@10.10.139.110/ReportServer/Pages/ReportViewer.aspx?%2fResearchers&rs:Command=Render