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

Creating Reports in Silverlight project

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aaron Bowman
Top achievements
Rank 1
Aaron Bowman asked on 01 Dec 2009, 09:56 PM
I'm trying to create a report from within a Silverlight application but am running into problems. I can successfully create reports from a C# application, but not Silverlight.

First for C# - I create a C# Windows Forms application and add a "New Item" of Telerik Report Q3 2009 to the project. Using the Report Wizard, I connect to a remote SQL server and point to the appropriate database and then use the Query Builder to select the fields from the tables I wish to display. I place the fields into the Detail section and finish out the report. The Preview option properly displays the report with all of the appropriate data from the tables selected.

Next for Silverlight - I create a Silverlight Application (set to run in a hosted environment) and add a new Telerik report item to the .Web project. I follow the exact same steps as with the C#, even running the query to verify that the select statement is selecting the data properly. Fields are placed in the Detail section as in the C# project, and I finish out the report in the same way. The Preview and HTML Preview both display the field headers but no data is displayed.

I also repeated the above steps with a local data source with the exact same results. What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Chris Gillies
Top achievements
Rank 1
answered on 02 Dec 2009, 04:28 PM
Take a look at the following thread for more info: http://www.telerik.com/community/forums/reporting/telerik-reporting/silverlight-reportviewer-questions.aspx. As far as I understand from the provided replies, Telerik are currently working on building the Report API against the Silverlight runtime, so what you are trying to achieve is expected in upcoming versions.

Cheers

Tags
General Discussions
Asked by
Aaron Bowman
Top achievements
Rank 1
Answers by
Chris Gillies
Top achievements
Rank 1
Share this question
or