reportviewer in web forms not showing content or print button

N

ns

I am trying to set up Report Viewer with Local more report to use in my web
app but I can't make it to display any data or print button in toolbar (even
though its set to show: true i only see navig and export buttons).
this is the code in page_load event meant to make this work. the user.ds
object is filled with data from before, and there are no errors, just empty
surface, and no print button.
pls help :)

ReportViewer1.ProcessingMode = ProcessingMode.Local;
LocalReport lclReport = this.ReportViewer1.LocalReport;
lclReport.ReportPath = Server.MapPath("") + "\\report.rdlc";

lclReport.DataSources.Add(
new ReportDataSource("dsSotac_Izvjestaj_rjesenja",
user.ds.reportTable));
ReportViewer1.LocalReport.Refresh();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top