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?
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?