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

How To Make Very Simple Report with Report Control

2 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 21 Oct 2008, 12:29 PM
I am trying to evaluate the Teleric report control for purchase/use in a C#, VS 2005, ASP.NET 2.0 web app we have deployed with a large customer.  The main reason to switch from the current MSFT report control is that one client is getting an error which we think is probably related to their firewall, but we cannot solve it.  We want to see whether either Teleric or Crystal Reports will work.

For testing, I want to use the existing project (not create a separate class project as advised in the tutorials) and:

- Create a new report
- Use an existing data set for the data source (our data sets are in the app_data folder.
- Drop the report into an aspx containing the Teleric report control

It does now much matter what the report does at this point, I just want to generate any output, based on the above.  If it works in this client's browser we will deal with the suggested 'best practices' later.

Is there anywhere in the documentation where is states how to do this?  Everything I have seen keeps taking me to the separate class system.

I have been able to create a report (in the app_code folder as suggested), but I cannot get the report to 'see' the existing data sets in the app_data folder.

Any help would be appreciated - I just want something quick and dirty at this point.

Thanks
Mike Thomas


2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Oct 2008, 12:23 PM
Hello Mike,

There is some misunderstanding. In your other forum thread, I've explained that you can have your report in the same app. only if it is a web application and not a web site. Now I see that you mention App_Code folder which is strictly a folder for websites only, where you can place your class files. However this would hardly work with our Reporting product, due to limitations of the web sites, for starters the designer does not work when the report is used in web site and this might be the reason why it does not "see" the datasets. For websites it is mandatory to use separate class library with the report and reference this library in the web site. The whole "procedure" takes less than a minute, so we recommend you to go ahead and try it.

Kind regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 22 Oct 2008, 01:03 PM
OK Steve,  thanks for the clarification.  I'll go back and try it the other way.

Many thanks for the help.
Mike Thomas

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