This is a migrated thread and some comments may be shown as answers.

Binding ReportViewer with business object in Silverlight 4

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Giovanni
Top achievements
Rank 1
Giovanni asked on 25 Jul 2011, 10:41 AM
Hi, i am trying develop some reports in silverlight 4 desktop application with Telerik Reporting Q1 2011 version 5.0.11.510.
My problem is that i don't know how to bind my report to the ReportViewer.
The xaml code is this:

<StackPanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch">        
        <telerik:ReportViewer Name="reportViewer" Report="Reporting.Report, Reporting"  Height="700" Width="800" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</StackPanel>

where Reporting.Report is a simple report with only a textbox.
If i run this code no report will be displayed, i like to understand where is the mistake. Can anyone help me?

Thanks,
Gio

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Jul 2011, 04:26 PM
Hello Giovanni,

Telerik Reports reside on the server and the Silverlight ReportViewer always requires the Telerik Reporting WCF Service, which acts as a communication interface between the client (Silverlight) and the report server. Generally the reporting engine is not compatible with Silverlight and it requires .NET framework to perform its operations. In the provided XAML you have omitted to define report service.

Check out the Silverlight demo application that came with your installation of Telerik Reporting. Additionally you may find useful How to: Add report viewer to a Silverlight application help article.

Kind regards,
Peter
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Giovanni
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or