Quantcast
Viewing all articles
Browse latest Browse all 7205

How to implement a Document Preview in a Silverlight application

This example demonstrates how you can add XtraReport to a Silverlight application and show its Document Preview from where it can be printed and/or exported to a variety of popular formats (notably PDF, HTML, MHT, RTF, TXT, CSV, XLS, XLSX, and XPS).

A document exporting is performed via a reporting service deployed on the server-side.

This sample contains two projects:

- SilverlightApplication1, providing functionality for the client-side Document Preview;

- SilverlightApplication1.Web, with the report service hosted on the server to generate reports.

NOTE: For this example to work correctly, SilverlightApplication1.Web must be set as a "Start Up Project" and the SilverlightApplication1TestPage.aspx must be set as a "Start Page".

See also:
-
How to use XtraReports in a Silverlight application using XPO as data source;
- How to invoke a Silverlight Report Designer for a report bound using XPO;
- How to use the Silverlight report designer.


Viewing all articles
Browse latest Browse all 7205

Trending Articles