471,355 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,355 software developers and data experts.

Getting Error Using Report Viewer(SSRS) with Ajax

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
2 9331
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
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.

Similar topics

5 posts views Thread by Martin | last post: by
3 posts views Thread by bss | last post: by
8 posts views Thread by Bhuwan Bhaskar | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.