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.

ReportDataSource

Thread ID:

Created:

Updated:

Platform:

Replies:

113658 Oct 3,2013 10:26 AM Oct 8,2013 01:38 AM Silverlight 4
loading
Tags: ReportViewer
Darren Hunnter
Asked On October 3, 2013 10:26 AM

Is there a way to specify the ReportDataSource in the domain service as we like to use a generic report viewer we just pass a report to and the data.

So we build every thing in the domain service and just pass what we need to the Silverlight frontend.

So no manipulation is done at all at the Silverlight side it all done server side!!


Darren Hunnter
Replied On October 3, 2013 11:58 AM

If I reference the Silverlight report dll in my domain service I get the following

 

Error 2 The Complex Type 'Syncfusion.Windows.Reports.ReportDataSource' already exists in another assembly. Complex Types cannot be defined in multiple assemblies. ReportApp

As I said I like to do the following:

<Invoke()>
    Public Function GetReportDataSource() As ReportDataSource
       Dim r As New ReportDataSource
 
       dostaff()
 
       r.Name = "SalesPerson"
       r.Value = staff
 
       Return r
 
    End Function
Can the Syncfusion.ReportViewer.Silverlight be ref in both project as I like to build the ReportDataSource
 in the domain service and just pass this to the viewer!
 

Anandakumar S [Syncfusion]
Replied On October 4, 2013 08:27 AM

Hi Darran,

 

Thanks for your update.

 

We have prepared Silverlight application to demonstrate the procedure to get Report and Report Datasource from service and input it to ReportViewer. Please find sample in the following location.  

 

Sample:http://www.syncfusion.com/downloads/support/directtrac/general/ReportViewerServiceSample-1047048489.zip

 

Please let us know if the solution helps.

 

Regards,

Anandakumar S

 

 


Darren Hunnter
Replied On October 7, 2013 10:50 AM

The example not quite what I wanted to do I wanted to do it through a domain service not a WCF service.


Anandakumar S [Syncfusion]
Replied On October 8, 2013 01:38 AM

Hi Darren,

Thanks for your update.

We have provided a basic level sample to demonstrate how to get Report and ReportDataSource from Service.

Please let us know if you have any concerns.

Regards,

Anandakumar S


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.

;