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

Telerik reporting with class library vs web application

6 Answers 377 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
northbound
Top achievements
Rank 1
northbound asked on 27 Jul 2011, 04:23 PM
I have an existing .NET web application and currently working on implementing Telerik reports in it. Is it better to create reports in the same web application or to create a reports class library and then call them from the application? What are the pros and cons for each approach?

6 Answers, 1 is accepted

Sort by
0
Pieter
Top achievements
Rank 1
answered on 04 Aug 2011, 07:29 PM
I'm anxious to hear the answer to this as I've spent a few hours trying to get a Telerik Report which I added to my Web Application project directly to work when I'm binding the datasource in the code-behind using a LINQ query.

This works fine when I've created a Class Library and created the Report in there, but no luck with the Web Application.
0
Steve
Telerik team
answered on 05 Aug 2011, 02:45 PM
Hi Pieter,

The main reason for placing the reports in a separate project is for clarity and specifically only for web site projects, it is required, as this type of projects have limitations that do not allow the report designer to work and to reference the report in the viewer directly.
However for all other type of projects, you could use the reports directly in them and this should not require any changes.

All the best,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Pieter
Top achievements
Rank 1
answered on 06 Aug 2011, 11:34 AM
Thanks Steve, my sanity restored.
0
northbound
Top achievements
Rank 1
answered on 11 Aug 2011, 02:26 PM
Thanks Steve.
0
Fernando
Top achievements
Rank 1
answered on 22 Sep 2011, 06:47 PM
OK.. good.. but now.
what is the method best of intecration report Telerik. if I have been started  web project.
0
Steve
Telerik team
answered on 27 Sep 2011, 09:10 AM
Hello Fernando,

As explained in previous posts, if you're using a web site project, you should create a class library to hold your reports and add reference to the class library in your web site in order to utilize the reports.

Greetings,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
northbound
Top achievements
Rank 1
Answers by
Pieter
Top achievements
Rank 1
Steve
Telerik team
northbound
Top achievements
Rank 1
Fernando
Top achievements
Rank 1
Share this question
or