Welcome to Pete Brown's 10rem.net

First time here? If you are a developer or are interested in Microsoft tools and technology, please consider subscribing to the latest posts.

You may also be interested in my blog archives, the articles section, or some of my lab projects such as the C64 emulator written in Silverlight.

(hide this)

Silverlight Reporting Open Source Printing/Reports Example Updated for Silverlight 5

Pete Brown - 09 January 2012

I recently posted an updated version of Silverlight reporting on codeplex. Here's the overview.

image

This project, a unofficial project by Pete Brown of Microsoft, provides a a very basic framework for building simple, short, multi-page reports using Silverlight 5.

The intent is not to be an all-encompassing reporting solution, or a solution for large reports. Instead, this is a set of code you can build upon to create short (2-5 page) reports from your Silverlight applications.

Currently the sample consists of the full source code of a simple report writer. It includes:

  • automatic pagination
  • support for line items of varying height
  • total page count
  • templating
  • page headers and footers
  • report footer with support for calculated fields
  • events to allow hooking into printing at various stages

Latest Release

Version information changed to use semantic versioning. This vesion is numbered: 1.0.0-alpha.3

  • Now targets Silverlight 5
  • Added ability to specify postscript (vector) printing. The selected driver must support PostScript or this setting will have no effect.
  • Fixed issue with not being able to re-print the report. (and fixed leaky event handlers)
  • Added null check on templates

image

This is still alpha, and is a minor project. Expect bugs. Report them when you do. Offer fixes if you can :)

Get the latest release here.

     
posted by Pete Brown on Monday, January 9, 2012
filed under:      

5 comments for “Silverlight Reporting Open Source Printing/Reports Example Updated for Silverlight 5”

Comment on this Post

Remember me