本文介绍了钻取未在报表查看器中呈现的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在VS2010 SP1中为SSRS开发了一个报告,并通过操作进行了转到报告"钻取.

使用本机报表服务界面时,链接将呈现并工作.

但是,当我使用ASP.Net报表查看器在应用程序中呈现报表时,不会呈现链接.

我已经检查了HTML,并且报表呈现响应中根本没有呈现交互性.

我有什么需要做的事情才能启用使用报表查看器的ASP.Net应用程序中的追溯操作?

如果有所不同,则报表查看器正在远程模式下工作.同样在使用Web服务界面时(因此,/reportserver而不是/reports)

纯模式在其响应中呈现以下锚点:

Hi,

I''ve got a report developed in VS2010 SP1 for SSRS with a "Go to report" drill through action.

The links render and work when using the native reporting services interface.

But when I render the report in my application using the ASP.Net report viewer, the links are not rendered.

I''ve inspected the HTML and there''s simply no interactivity rendered in the report rendering response.

Is there something I''m not doing which I need to do to enable drill through actions in an ASP.Net application using the report viewer?

If it makes a difference, the report viewer is working in remote mode. Also when using the web service interface too (So /reportserver instead of /reports)

Native mode renders the following anchor in its response:

<a tabindex="1" onclick="var rp=$get('ReportViewerControl_ctl09_ReportControl');if(rp&&rp.control)rp.control.InvokeReportAction('Drillthrough','113iT0R0R0R0x0:0');return false;"  önkeypress="if(event.keyCode == 13 || event.which == 13){var rp=$get('ReportViewerControl_ctl09_ReportControl');if(rp&&rp.control)rp.control.InvokeReportAction('Drillthrough','113iT0R0R0R0x0:0');}return false;" href="" style="removed:pointer;" class="A4245441523f047238dd5ddd74a6cb4d1138a" target="_top"><div style="WIDTH:28.70mm;" class="r13"><div class="A4245441523f047238dd5ddd74a6cb4d1137"><span class="A4245441523f047238dd5ddd74a6cb4d1136">BF0014</span></div></div></a>



使用ASP.Net报表查看器,您不会在响应中获得锚点.

问候,

Steve



With ASP.Net report viewer, you don''t get anchor as part of the response.

Regards,

Steve

推荐答案




使用ASP.Net报表查看器,您不会在响应中获得锚点.

问候,

史蒂夫



With ASP.Net report viewer, you don''t get anchor as part of the response.

Regards,

Steve



这篇关于钻取未在报表查看器中呈现的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-20 23:55