Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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:

HTML
<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>


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

Regards,

Steve
Posted

1 solution

There is a bug in the report viewer control.

When you install SP1 for VS2010, it adds new assembly versions for the report viewer to the GAC.

The new version contains the bug.

Unfortunately it's not possible to specify, within your config, which version to use as all versions have the same assembly version number. This is done to allow easier upgrade of the report viewer component. But it also means that once you install the SP1 component it's very difficult to roll back.

The SP1 runtime version is: v2.0.50727

Make sure you use an earlier version on your live servers, such as the one referenced in the connect article.

The good new is, if you haven't installed the SP1 viewer into the GAC on your production servers, then you shouldn't experience the problem in your live environment.

There is currently a connect article showing progress with this fault. There is a work-around which involves using GACUtil to remove the SP1 assembly versions, but this could create issues for you at a later date and make VS2010 unstable.

http://connect.microsoft.com/VisualStudio/feedback/details/652114/reportviewer-drillthrough-broken-after-vs2010-sp1[^]
 
Share this answer
 
Comments
vinslake 18-Jul-13 2:53am    
hi i'm having same problem with VS2010 report viewer sp1 when i do some runtime coding the html page rending does not complete
Stephen Hewison 18-Jul-13 14:20pm    
If it's the whole report which isn't rendering then it isn't this problem. You have a different problem. Most likely with the configuration of the report viewer control.
vinslake 18-Jul-13 2:54am    
and also i try to go to the link of update fix for the VS2010 report viewer sp1 i could not see the link or download

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900