This is a migrated thread and some comments may be shown as answers.

A couple of usage questions

4 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 17 Aug 2017, 03:48 PM
I've never used the Telerik Reporting functionality, and before I delve into it too deep, I'm wondering something about capability.  All our apps, C# MVC apps, do not ever connect to a database.  We have a service layer, a C# REST API, that all our applications connect to, authenticate against, and retrieve data from.  Is it possible, using the Telerik Reporting functionality, be able to build a report using Lists?  Says a List<Invoice> where Invoice is a complex object containing header data, and a List of detail line item data?  If it does allow for this, where can I find some good examples or documentation on how to implement this?  Or does it absolutely have to connect to and use a database directly?

4 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 1
answered on 17 Aug 2017, 06:11 PM
For the record, I tried loading and compiling some of the C# MVC examples that come with the Telerik Reporting.  Each and every one of them failed to build, unable to get stuff from NuGet.  Don't why it couldn't, every project I create uses NuGet just fine, we even have our own inhouse NuGet repository that works.  Only these apps fail...
0
Peter
Telerik team
answered on 18 Aug 2017, 07:55 AM
Hello Joe,

You are the first one to report such issue with the examples and we can't reproduce it. What is the exact error the you get in the Output window?

Up to the datasources. Telerik Reporting can utilize different kinds of datasources including generic lists from services, thanks to the ObjectDataSource component.

I have attached an example to illustrate the nested lists data binding. With the demonstrated approach you can bind any level of nested lists with any data item.

Regards,
Peter
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Joe
Top achievements
Rank 1
answered on 18 Aug 2017, 02:35 PM

The exact error is: Error This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets.CSharp.MvcDemoC:\Program Files (x86)\Telerik\Reporting R2 2017\Examples\CSharp\MvcDemo\CSharp.MvcDemo.csproj256

For the record, I already have the NuGet Package Restore enabled, otherwise I'd never be able to build any of my projects, as you can see by the attached screen shot.

0
Peter
Telerik team
answered on 21 Aug 2017, 02:37 PM
Hello Joe,

I have made some research and found this stackoverflow thread. Removing the lines that cause the error didn't broke the project. Thus I have attached the modified project to the thread. Please give it a try and let us know how it goes.

Regards,
Peter
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Joe
Top achievements
Rank 1
Peter
Telerik team
Share this question
or