We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Reportviewer and VS 2010

Thread ID:

Created:

Updated:

Platform:

Replies:

122051 Feb 11,2016 01:52 PM Feb 18,2016 05:14 AM ASP.NET Web Forms 7
loading
Tags: ReportViewer
bloatus
Asked On February 11, 2016 01:52 PM

Hello,

I have tried to implement a reportviewer rdlc report  in a VS 2010 webforms project. The page displays with the spinner continuously spinning but there is no data. I believe that I have all the appropriate assemblies referenced but not sure. Anything I need to look for?


Thanks!

Venkatesan Pandian [Syncfusion]
Replied On February 12, 2016 03:59 AM

Hi Cliff,

Thanks for contacting Syncfusion support.

have tried to implement a reportviewer rdlc report  in a VS 2010 webforms project. The page displays with the spinner continuously spinning but there is no data. I believe that I have all the appropriate assemblies referenced but not sure. Anything I need to look for?
The mentioned issues may have occurred due to missed to refer any of WebAPI dependent assemblies in application. Due to this, Registering the WebAPI service gets failed internally. So ensure whether the below WebAPI dependent assemblies are properly referred in your application.
·         System.Web.Routing  
·         System.Web.Http
·         System.Web.WebHost
·         System.Net.Http
·         System.Net.Http.WebRequest
·         System.Net.Http.Formatting

We have prepared a sample and it can be downloaded from the below location,
http://www.syncfusion.com/downloads/support/forum/122051/ze/ReportViewer_Asp.Net-791356516.zip

You can obtain the ASP.Net ReportViewer samples from the below build installed location,

Please refer to the online UG documentation for more details,
http://help.syncfusion.com/aspnet/reportviewer/getting-started

If the issue still persists, then revert us the sample along with the replication procedure to validate this issue.   

Regards,
Venkatesan

bloatus
Replied On February 12, 2016 11:43 AM

Venkatesan,

Thank you for your quick response. I have the assemblies referenced below in my test project and I must still be missing something. Please see attached project. Hopefully, that will help.

Thanks!

Attachment: ReportViewerTest1_bfdf552c.7z

Venkatesan Pandian [Syncfusion]
Replied On February 15, 2016 05:04 AM

Hi Cliff,

Thank you for your quick response. I have the assemblies referenced below in my test project and I must still be missing something. Please see attached project. Hopefully, that will help.

Thanks!

Attachment: ReportViewerTest1_bfdf552c.7z

You have missed to add WebAPI controller in the shared sample. So, please include the Reporting WebAPI controller as shown in the below screenshot. 



We have modified the shared sample and it can be downloaded from the below location,
http://www.syncfusion.com/downloads/support/forum/122051/ze/ReportViewerTest1_bfdf552c-1640709703.zip



Regards,
Venkatesan

bloatus
Replied On February 17, 2016 08:49 AM

I added the  WebAPI controller and all is well.  Thank you!

One more question please, do you have a sample project how to display dropdowns and datepickers underneath the report viewer toolbar for parameters like the online samples have?

Also, I am having problems with displaying a chart next to the table data. I've tried a pie chart and a bar chart.

Thanks!

bloatus
Replied On February 17, 2016 02:45 PM

I've the chart showing up now. Can there be more than one datasource per report? An example would be a billing Invoice . The upper half would display shipping info and the lower half would display items? The SaleOrderDetail.rdlc is similar to what I need.

bloatus
Replied On February 17, 2016 02:51 PM

Sorry for the confusion. I am working on two reports at the same time. One is a billing invoice and the other is a report with parameters.

Venkatesan Pandian [Syncfusion]
Replied On February 18, 2016 05:14 AM

Hi Cliff,

One more question please, do you have a sample project how to display dropdowns and datepickers underneath the report viewer toolbar for parameters like the online samples have?
We have rendered the dropdown and datepicker controls in the ReportViewer toolbar as explained in the below link toolbar code example.
http://js.syncfusion.com/demos/web/#!/azure/toolbar/template

You can also customize the ReportViewer toolbar based on your usage and please refer to the KB article for more details about tool customization.
https://www.syncfusion.com/kb/4824/how-to-customize-the-reportviewer-toolbar

Also, I am having problems with displaying a chart next to the table data. I've tried a pie chart and a bar chart.
We were unable to replicate the reported issue at our end. We have prepared a sample with chart and it can be downloaded from the location: http://www.syncfusion.com/downloads/support/forum/122051/ze/ReportViewerSample-176821905.zip

If the issue still persists, then share the reproducible procedure or rdl report definition with us to validate this issue.
I've the chart showing up now. Can there be more than one datasource per report?
Yes, we can use more than one datasource in RDL reports.
Sorry for the confusion. I am working on two reports at the same time. One is a billing invoice and the other is a report with parameters.

An example would be a billing Invoice . The upper half would display shipping info and the lower half would display items? The SaleOrderDetail.rdlc is similar to what I need.
In above shared sample, SalesorderDetails demo contains invoice like scenario and Sales Dashboard demo contains table with chart visualization.

Regards,
Venkatesan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;