Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Reporting > Telerik Reporting > entitydatasource object context is empty

Not answered entitydatasource object context is empty

Feed from this thread
  • Marlou avatar

    Posted on May 1, 2012 (permalink)

    Hi!

    I have a class library with my reports in it. I have another project where my entitymodel is in. In my reports project I've added a reference to the project where my entitymodel is in. I've also added the connection string to the reports project and rebuild the project. In my project I try to use an entitydatasource. I can select the connectionstring from the web.config, but if I click next, the Object Context is empty and I can't select anything.

    Why is this happening and how can I fix it?

    Reply

  • Steve Steve avatar

    Posted on May 3, 2012 (permalink)

    Hi Marlou,

    Check the help topic about retrieving data from an entity data model with the EntityDataSource component in our documentation, which discusses more in-depth how to extend your ObjectContext with a method to execute a custom business logic against the entity model and how to invoke that method using the EntityDataSource component.

    Regards,
    Steve
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

    Reply

  • Lukas avatar

    Posted on Nov 29, 2012 (permalink)

    Hi, I have exactly the same problem as Marlou.
    I've tried a few hours to find a solution for the problem - but wasn't successful.

    @Steve, is your advice then, to do it in code behind instead of the Designer?

    PS: I am using Q3 2012 and VS2012 .net 4.5

    EDIT: Finally I found the problem:

    EF 5.0 is generating a DBContext instead of an ObjectContext per default, which was new to me.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Reporting > Telerik Reporting > entitydatasource object context is empty
Related resources for "entitydatasource object context is empty"

Features  |  Documentation  |  Demos  |  Telerik TV  |  Knowledge Base  |  Code Library  |  Step-by-step Tutorial  |  Blogs  |  Whitepaper  ]