By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,490 Members | 3,266 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,490 IT Pros & Developers. It's quick & easy.

Getting Error Using Report Viewer(SSRS) with Ajax

P: n/a
I am using Ajax control(Update Panel) in my web page(ASP.Net 2.0) and putting
Report Viewer(Sql Server Reporting Services 2005) Control in it.

When I am displaying any report it is coming ,But Report Viewer Toolbar is
not working Ex Print Command Button and if I try to move to next page I am
getting error “The source of the report definition has not been specified “



and this report is Server Report not LocalReport
Jun 14 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello Gyanendra,

Maybe this help http://forums.asp.net/t/1115826.aspx
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

GReport Viewer
G>
Jun 14 '07 #2

P: n/a
This Code is Used to Display the Report..
and my code is fine
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
this.ReportViewer1.ServerReport.ReportServerUrl = new
System.Uri("http://rosbpdapp01/reportserver");

string strReportServerPath = "/STATSREPORTS/EMPReport";
this.ReportViewer1.ServerReport.ReportPath = strReportServerPath;
Microsoft.Reporting.WebForms.ReportParameter[] RptParameters = new
Microsoft.Reporting.WebForms.ReportParameter[2];
string strTime = dtDate;
strdtDate = strdtDate;
strTime = strTime;

RptParameters[0] = new
Microsoft.Reporting.WebForms.ReportParameter("date From", strdtDate);
RptParameters[1] = new
Microsoft.Reporting.WebForms.ReportParameter("date To", strTime);
ReportViewer1.ServerReport.SetParameters(RptParame ters);
ReportViewer1.ServerReport.Refresh();

No Problem is displaying report..Problem is after that when we try to move
to second page of the Report

"Michael Nemtsev" wrote:
Hello Gyanendra,

Maybe this help http://forums.asp.net/t/1115826.aspx
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

GReport Viewer
G>
Jun 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.