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

Print report in silverlight business application

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aleksandar
Top achievements
Rank 1
Aleksandar asked on 19 Apr 2011, 10:57 AM
Hi,

I am using VS2010, SL4, Q1 2011 for telerik silverlight and reporting. I will to print report in my silverlight business aplication. Report (called 'BankaReport') is created on sever project of solution. When I click on the print button, which is on the silverlight page on client project, I will to open silverlight child page, which is on same side, and show report. On the server side is created ReportService.svc. There is reportviewer control on the silverlight child page. I set property that control:
 <telerik:ReportViewer x:Name="MyRV "
                                    ReportUri="ReportService.svc"
                                    Report="BankaReport">

When I clicked on the print button I give message error that say me that assembly is not  ok.
Could you give me project with example like this or show me demo.

Best regards,

Aleksandar Kovacevic

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Apr 2011, 11:53 AM
Hi Aleksandar,

As duly noted in our documentation, the ReportViewer.Report property expects the assembly qualified name of the Report type for the viewer to display e.g.:

<telerik:ReportViewer  x:Name="ReportViewer1" Width="1000"
             ReportServiceUri="../ReportService.svc"
             Report="Telerik.Reporting.Examples.CSharp.BarcodesReport, CSharp.ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
           </telerik:ReportViewer>

There is a Silverlight demo project installed along with the product, so please refer to the documentation and project whenever you're unsure how to proceed.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Aleksandar
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or