Reporting Services Workaround

Last week I posted about a bug in the SQL Reporting Services Report Viewer for ASP.NET.  I think today after someone's suggestion we found a possible workaround.  If we subscribe to the DrillThrough event on a report and then reset our ReportViewer before displaying the report, it works as it should. 

Add the below to the default.aspx Code Behind File.

Private Sub rvReports_Drillthrough(ByVal sender As Object, ByVal e As Microsoft.Reporting.WebForms.DrillthroughEventArgs) Handles rvReports.Drillthrough
    Dim rpt As ServerReport = CType(e.Report, ServerReport)
    rvReports.Reset()
    rpt.Refresh()
End Sub

 

Follow all of the directions in the previous post to get the thing to run and you are set.  Done. Like dinner.  P0wn3d!

posted @ Wednesday, November 28, 2007 4:33 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 3 and 4 and type the answer here:
 

Live Comment Preview:

 
«August»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456