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

Using a Report in Wpf?

3 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 20 Dec 2012, 03:09 PM
Hi,

is it possbile to view a Report (Example the Dashboard.trdx) in a wpf Application?

Thanks
Best Regards
Rene

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 Dec 2012, 03:30 PM
Hi Rene,

Yes it is possible, you can deserialize an xml report and end up with a CLR object. You can use InstanceReportSource to assign this report to the WPF report viewer.
Another approach is to directly use the xml report without deserializing, this is possible by using XmlReportSource or UriReportSource.

Regards,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
ITA
Top achievements
Rank 1
answered on 12 Jan 2013, 04:53 PM
Hi,

thanks so far. I'm looking for a working example of binding a Sqlite Database to a Telerik Report in a wpf-project.
I have to create the report on the fly and i have to update the report by chaning some values on the fly....

Is there any smaple-project somewhere to find?

thanks
best Regards
Rene
0
Steve
Telerik team
answered on 16 Jan 2013, 12:15 PM
Hello Rene,

The database is irrelevant as long as it is supported. Sqlite is a supported database, so any of our Visual Studio examples that utilize the SqlDataSource component is a valid example for you to review.

About the programmatic creation of the reports, you can use the Programmatic Control of Reports help article as a starting point. Whenever you're not sure how to accomplish something, use the Integrated Visual Studio Report Designer to create the desired items/layout and then inspect the InitializeComponent method to see what code it has generated.

Greetings,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

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