Last post Jun 29, 2007 12:28 PM by alcsharp
Jun 28, 2007 05:42 PM|alcsharp|LINK
I hope someone can help me with this as I haven't really seen it in other posts.
I'm currently integrating Reporting Services 2005 into an Asp.Net application using the Web Service API. I have no problem displaying reports in the ReportViewer control. I can query the report server to get me a list of Reports in a specific folder using
Each reportHistorySnapshot has a HistoryID property but I don't know how I can use that to view the report I want to display.
If anyone can suggest how I can display the Report Snapshot thru the Asp.Net ReportViewer control I'm all ears. I know I can link directly to the Snapshot's URL but I'd rather not do it this way. I'd like to do it through the Asp.Net control.
Thanks in Advance!
Jun 29, 2007 12:28 PM|alcsharp|LINK
Found the answer to my problem so thought I'd post it here for anyone to reference.
In addition to setting the below:
ReportViewer1.ServerReport.ReportPath = reportPath;
You also set the specific HistoryID of the report at that path the corresponds to the snapshot to display.
ReportViewer1.ServerReport.HistoryId = historyID;