报表控件FineReport中报表如何嵌入到.net系统
1、情形一:报表整体嵌入在.net系统框架中如下图,点击左侧报表节点,将报表整体显示在.net系统的MainFrame主框架中:
2、图中“地区销售表”对应一个超级链接元素<a>,我们只需要设置其href为报表路径,楫默礤鲼目标打开位置target为框架名白镢梧螂称MainFrame即可:<a href="http://localhost:8080/WebReport/ReportServer?reportlet=GettingStarted.cpt" target="MainFrame">地区销售表</a>另外还可以给报表传递动态参数值,类似如下:<a href="http://localhost:8080/WebReport/ReportServer?reportlet=GettingStarted.cpt&参数名=<%=参数值%>" target="MainFrame">地区销售表</a>
3、情形二:报表希巫府浆嵌入在.net系统的某个页面中若上图中间区域主框架中嵌入的是某个.net页面,如xxx.asp,在该页面中再嵌入报表。此时在该asp页面bod烤恤鹇灭y中通过iframe来嵌入报表:<iframe id="reportFrame" src="http://localhost:8080/WebReport/ReportServer?reportlet=GettingStarted.cpt" width = "100%" height = "500px"></iframe>
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:57
阅读量:90
阅读量:52
阅读量:74
阅读量:75