how to properly display SSRS site within iframe

纵然是瞬间 提交于 2019-12-04 16:57:53

from experience I've found IFRAMEs and FRAMEs with SSRS 2008 did not work reliably (admittedly I had IE6 issues too).

Eventually I settled on using JavaScript/jQuery to create a DIV at the top of the page that looked like the top nav bar of my home page, using behaviors (IE) or bindings (FF) that can be loaded in using the "ReportingServices" style sheet e.g.

/* add in behavior file for IE */
body {
  behavior: url("/Reports/IE-frame.htc"); 
} 
/* Firefox-only XBL */
body { 
  -moz-binding: url("/Reports/FF-frame.xml#initFrame"); 
}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!