RDLC中的图像操作 - 它可以进入新的浏览器窗口吗? [英] Image action in RDLC - can it go to a new browser window?

查看:70
本文介绍了RDLC中的图像操作 - 它可以进入新的浏览器窗口吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在表格文本框中有一个图像,我已将动作参数设置为转发到新报告。不幸的是,它刷新页面和页面的设置方式,我只是得到原始报告(报告查看器在一个标签集中的Div)。我可以让Action在新窗口中显示第二个报告吗?

谢谢!

S

I have an image in a table textbox on which I have set the action parameter to forward to a new report.  Unfortunately it refreshes the page and the way the page is set up, I just get the original report (The report viewer is in a Div in a tabset).  Can I have the Action bring the second report up in a new window?

Thanks!

S

推荐答案

你可以处理ReportViewer上的钻取事件。如果取消该活动,将阻止查看者更新报告。事件args应该为您提供足够的信息,以便在包含钻取报告的另一个窗口中弹出新的ASPX页面。

如果使用超链接操作而不是钻取操作,则可以将HyperlinkTarget属性设置为" ; _blank"实现类似的效果。
You can handle the drillthrough event on the ReportViewer.  If you cancel the event, it will prevent the viewer from updating the report.  The event args should give you enough information to pop up a new ASPX page in another window that contains the drillthrough report.

If you use the hyperlink action instead of the drillthrough action, you can set the HyperlinkTarget property to "_blank" to accomplish a similar effect.


这篇关于RDLC中的图像操作 - 它可以进入新的浏览器窗口吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆