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

How to add report viewer in existing silverlight applicatio?

6 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Madhan
Top achievements
Rank 1
Madhan asked on 04 Feb 2013, 11:32 AM
Hi Team,

This is M.Madhan Kumar and involved in development of silverlight applications since 2 years,like dashboard application which includes RadGridView,RadChart to display reporting information.

We have a requirement to export each GridView and RadChats into PowerPoint Slides and as we are aware there is no direct way to export charts and gridview into ppt,we would like to use Reporting tools from Telerik.

Here instead of converting all existing silverlight applications into Reporting applications we wpuld like to reuse existing Silverlight application with the help of Reporting tools.

Can you please send me sample code to do that?

Thanks in advance.
Madhan.

6 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Feb 2013, 04:41 PM
Hello Madhan,

There is no straight-forward way to reutilize grids and charts from your Silverlight application, unless they can be both saved as images. If not, then you would have to create the same layout you have with the grid inside a Telerik Report, the same goes for the chart item.

Your original incentive to look towards a reporting solution for your scenario is wrong, as reporting solutions are not "I need export to XXX format" for my page/form products and have different business value.

All the best,
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
Madhan
Top achievements
Rank 1
answered on 05 Feb 2013, 05:17 AM
Hi Steve,

Thanks for your reply.Can you please send me sample code used to achieve below silverlight application?

https://demos.telerik.com/reporting/sales-dashboard/silverlight-demo.aspx

Please send me sample code.

Thanks,
Madhan.
0
Madhan
Top achievements
Rank 1
answered on 05 Feb 2013, 08:15 AM
Hi Steve,

Is Telerik Reporting Q3 trial version doesn't include PPT in export export view? I haven't saw it in Q3 Trial version.Please refer attached image.

We would like to test the export PPT functionality before buy tools.

Thanks,
Madhan.


0
Steve
Telerik team
answered on 05 Feb 2013, 10:14 AM
Hi Madhan,

The free trial licenses of all Telerik products are fully functional and will work for an unlimited time but with a copyright message displayed on each report page. In order to have Powerpoint format available in the export, you should reference the required assemblies as instructed in the Deploying Web Applications help article, namely:

DOCX/PPTX/XLSX rendering extensions require Telerik.Reporting.OpenXmlRendering.dll and Open XML SDK 2.0 for Microsoft Office (DocumentFormat.OpenXml.dll v.2.0.5022.0 or above).

The Sales Dashboard demo report along with all other reports is installed as part of the Examples and they can be opened from the Start menu.

Kind 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
Madhan
Top achievements
Rank 1
answered on 05 Feb 2013, 01:25 PM
Hi Steve,

Thanks for your reply,now i am able to view PPT export format and started creating reports.In my report i have 3 report parameters and have table.

I am able to get data for all report paraneters with respective data sources but whenever i added datasource for Table i am unable to get filed values but when i execute the query i was able to view result.

But when i try to assigne values using expressions i am not able to view fields.

Can you please assist me ASAP?

Thanks a lot.
Madhan.
0
Steve
Telerik team
answered on 08 Feb 2013, 12:02 PM
Hi Madhan,

It is not clear from your description what is the exact problem that you have encountered. The Table item is a Data Item that has its own DataSource property, so if you want to display data in a Table item, you should bind the Table itself and not the Report that contains it.

In short, make sure the Table item has DataSource set and its cells have appropriate expression e.g. = Fields.Column1, = Fields.Column2 etc. You can review the demo reports that are shipped with Telerik Reporting and contain Table item for more information and runnable sample report.

All the best,
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
Madhan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Madhan
Top achievements
Rank 1
Share this question
or