Saturday 3 November 2012

Dynamic Reports in Silverlight

The Requirement

Delivery of reports containing unknown data shapes that require parameters, filters and sorting.

The Solution

Well the start of it anyway, is here.  A web server exposes a web service that returns meta data about the report types, their parameters and whether those parameters can have their value set by selecting from a list of data or by single data entry.

image

 

DynamicReports1

DynamicReports2

DynamicReports3

Dynamic Data

The data that is returned from the web server is in an unknown shape.  To get around this we use an implementation of ICustomTypeProvider.

Dependencies

This prototype requires Telerik controls which can be downloaded from:

http://www.telerik.com/products/silverlight/overview.aspx

Source

https://github.com/stevenh77/DynamicReports

No comments:

Post a Comment