Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Downloading Report from asp ReportViewer website

$
0
0

Hello,

This is my first visit here, I'm going to try to use c# to automate some steps that we have to do every day/week, like downloading and processing reports. I open a form and then connect to the website browse to each report.

The reports are stored on an asp website, and it is running the Report Viewer.

It has a nice toolbar where you can click on export save as excel. We have to click that button for 20 reports.

So I'm looking for a way to download all of these reports in 1 go. I do not have access to the website.

I found a way to navigate to the website with the reports using

this.axWebBrowser1.Navigate2

but If I click on the export button a save file dialog is shown.

The source of the website button is like this:

<a onclick="$find('ReportViewerControl').exportReport('EXCEL')">export</a>

I found out that I need to call render on the report http://msdn.microsoft.com/en-us/library/dd468085(v=vs.100).aspx

But how can I connect to the external report. It only works for a local report?

Is it possible to download a Report from this website directly to a temp dir so I can store/process all the reports at once?




Viewing all articles
Browse latest Browse all 10045

Trending Articles