Can the following code be rewritten to display ms report viewer without using iframe?
是否可以重写以下代码以显示ms报表查看器而不使用iframe?
<iframe id="Iframe1" runat="server" src="Pdf.aspx" scrolling="auto" width="100%" height="590" />
<rsweb:ReportViewer ID="someid" runat="server" Font-Names="Verdana" Font-Size="8pt" Visible="false"
ProcessingMode="Remote" Width="100%" ShowDocumentMapButton="false" DocumentMapWidth="15%" DocumentMapCollapsed="True" HyperlinkTarget="_top">
</rsweb:ReportViewer>
this is an existing application and i don't want to break it, however because of using iframe css menus are getting blocked.
这是一个现有的应用程序,我不想打破它,但是因为使用iframe css菜单被阻止。
1 个解决方案
#1
0
This looks similar style of question with a decent answer:
这看起来类似的问题风格和一个体面的答案:
CSS hover menu appearing behind pdf iframe
CSS悬停菜单出现在pdf iframe后面
Otherwise, I presume you have tried changing z-index, positions of both items already>
否则,我认为你已经尝试改变z-index,两个项目的位置已经>
I presumes "rewritten" you're implying to display the report outside the iframe inside the page's HTML. Well yes if you are using WebForms not MVC, but, even if WebForms there might be a reason the original didn't and from the detail you have given I cannot tell.
我假设“重写”你暗示要在页面HTML内部的iframe之外显示报告。好吧,如果您使用的是WebForms而不是MVC,但是,即使WebForms可能有原因没有原因,而且从您提供的细节我无法分辨。
#1
0
This looks similar style of question with a decent answer:
这看起来类似的问题风格和一个体面的答案:
CSS hover menu appearing behind pdf iframe
CSS悬停菜单出现在pdf iframe后面
Otherwise, I presume you have tried changing z-index, positions of both items already>
否则,我认为你已经尝试改变z-index,两个项目的位置已经>
I presumes "rewritten" you're implying to display the report outside the iframe inside the page's HTML. Well yes if you are using WebForms not MVC, but, even if WebForms there might be a reason the original didn't and from the detail you have given I cannot tell.
我假设“重写”你暗示要在页面HTML内部的iframe之外显示报告。好吧,如果您使用的是WebForms而不是MVC,但是,即使WebForms可能有原因没有原因,而且从您提供的细节我无法分辨。