Search code examples
.netasp.netreportingreportxtrareport

Reporting with dynamic layouts


We're using DevExpress Xtra reports, but they don't seem to be able to meet our requirements...

I previously posted this question, to which no good answer (that I am aware of) exist, even from devexpress.

We would like to have a report that we can change the layout of (based on some property of a user), but have the underlying 'plumbing' the same (e.g. data source, columns etc, though with different parameters provided to the report).

The closest I can explain what I'm after is a sort template approach, or imagine applying different master-pages. I'm not after a skinning effect, our customers dictate the entire layout of the report, such that a single report for one customer, may be entirely different (in terms of layout) to another customer. I also do not want to maintain many reports - e.g. if I add a column, or change the beforePrint event on a column on the main part of the report, I don't want to have to go through other files and change them as well (we could have 100's of layouts for one report).

Does anyone know of a product that would meet our requirements, or can suggest a method of achieving what we require?


Solution

  • I would take a look at the Telerik reporting http://www.telerik.com/products/reporting.aspx

    Reports are just C# classes and you can modify the reports easily by writing your own code inside the report, you can also for instance create a base class and have all reports inherit from that. I would think you could leverage this level of flexibility to meet your needs.