Business Objects and Binding to the Reporting Control

Business Objects and Binding to the Reporting Control

Old forum URL: forums.lhotka.net/forums/t/3293.aspx


MadGerbil posted on Monday, July 30, 2007

The most recent implementation of the Microsoft Reporting control (web) doesn't pick up data sources that are based upon the CSLA framework.   Please note that I'm talking about Web Applications (as opposed to web projects) here.  Also, my Web Application is structured to have the web pages and reports in one project and the business objects in a separate class library.

If I build a collection class that inherits from BusinessListBase like so:

Inherits BusinessListBase(Of Employees, Employee)

The business object will  NOT show up in the Website Data Sources tab.  However, if I build my collection class like this:

Inherits List(Of Employee)

It will work just fine.  Unfortunately, it isn't just a matter of leaving all the code the same and inheriting from a different collection base - the constructor cannot be private either.  If the constructor is made private the item will stop showing up in the Website Data Sources tab.

Anyone found a way around this?

Copyright (c) Marimer LLC