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

Silverlight Reportviewer in Silverlight Class Library Project

4 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wallace Santos
Top achievements
Rank 1
Wallace Santos asked on 18 Mar 2010, 07:03 PM
Hi

I'm trying to create a report into a Silverlight project where, by architecture definitions, the reports are into a separated Silverlight Class Library project. The point is that one it doesn't run in this scenario. Then, I would like to know if this application is it possible or I just can use Silverlight Reportviewer into a Silverlight Application project.

Thanks in advanced

Wallace

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Mar 2010, 04:16 PM
Hi Wallace Santos,

You should use a standard .NET class library, as the Silverlight class library is working with different subset of the .NET framework.
Currently the Telerik Report API is compiled against the .NET CLR only. That said you cannot use the Telerik Report API to create report definitions in Silverlight. For more information on how to use Telerik Reporting in Silverlight please see Silverlight Report Viewer help topics and check the SilverlightDemo that comes with the sample solutions installed together with Telerik Reporting both in C# and VB.NET.

Best wishes,
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.
0
Wallace Santos
Top achievements
Rank 1
answered on 19 Mar 2010, 07:13 PM
Hi Steve

Thanks a lot for your answer, but I think that I wasn't clear in my question. Yes, I know about the point over Class Library project. But, to use the Silverlight report viewer, in your sample, I just can use into a Silverlight Application Project. I've tried use into a Silverlight Class Library project, but it wasn' work. My question is: Can I use the Silverlight Reportviewer in a Silverlight Class Library Project? If yes, how?

This point is very important for our consideration about buy or not your package.

Regards
0
Svetoslav
Telerik team
answered on 25 Mar 2010, 01:31 PM
Hello Wallace Santos,

The Telerik Silverlight ReportViewer control is a regular Silverlight control and you can use it exactly the same way as you do with other controls. One usually puts the controls in an UserControl and then use this user control in your application. Whether this user control belongs to your application or is a part of a separate class library depends entirely on your project organization and requirements. For example the Telerik.ReportViewer.Silverlight assembly is developed as a class library. For more information please see Using Controls and Dialog Boxes.

Best wishes,
Svetoslav
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.
0
Wallace Santos
Top achievements
Rank 1
answered on 04 Apr 2010, 06:50 PM
Hi Svetoslav

Unfortunately, it doesn't work.

Regards

Wallace
Tags
General Discussions
Asked by
Wallace Santos
Top achievements
Rank 1
Answers by
Steve
Telerik team
Wallace Santos
Top achievements
Rank 1
Svetoslav
Telerik team
Share this question
or