Enterprise Library 4.1

4 posts, 0 answers
  1. DavidT
    DavidT avatar
    67 posts
    Member since:
    Dec 2005

    Posted 09 Jul 2009 Link to this post


    Has anyone connected to Reporting Q2 2009 using Enterprise Library 4.1 DAAB?

    I've reviewed the Code Examples and Videos, 22Reporting ConnectingToData however I was unable to find a way.

    Are there any short online examples of this type of data connection?

    Many thanks
  2. Steve
    Steve avatar
    10941 posts

    Posted 14 Jul 2009 Link to this post

    Hello DavidT,

    Telerik Reporting does not provide its own data layer but depends on the existing .NET objects (DataSet, Data Table, DataView, ADO.NET, lists - for more information on report data binding, please, refer to this help topic). In this line of thoughts, it is neither aware nor does it matter to it how/where the data is coming from. It is up to the developer to prepare the data and bind the report in a suitable way. You can do this either in the report constructor, through the NeedDataSource event or even through the calling application.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Jeff Berry
    Jeff Berry avatar
    13 posts
    Member since:
    Jun 2009

    Posted 04 Jan 2010 Link to this post

    The problem that I'm having with this is that I cannot test with the Designer.  The report fails because it cannot find the Enterprise Library dll even though it is referenced in the project.  I assume this is so because the Designer is running under the context of Visual Studio.  Any suggestions?
  5. Steve
    Steve avatar
    10941 posts

    Posted 05 Jan 2010 Link to this post

    Hello Jeff,

    Please define what you mean by not working. If you expect that you would have your business objects available in the Data Explorer, then you are wrong, as you should have a datasource set in the designer for that.
    If you simply cannot use the Previews in design time, then have in mind that the Telerik Report Designer operates inside the Visual Studio application. When previewing a report, the project that contains the report is compiled (if needed) and the report class is instantiated through Reflection, and passed to the previewer. This means that the report constructor is executed in the context of the Visual Studio application, so the current application is devenv.exe. Have in mind that the valid config file in this case is the devenv.exe.config file and any connectionStrings or references to your DAL should be added in that config when previewing and external assemblies present in the same folder.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top