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

Error Adding Second Crosstab to Report

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ed M
Top achievements
Rank 1
Ed M asked on 10 Aug 2012, 03:36 PM
Hello,

I am trying to create a report with 2 crosstabs. The report itself has 2 SqlDataSources, but is not binded to them. My goal was to bind the each crosstab to its own datasource. The SqlDataSources have the same set of parameters, but one returns counts, the other returns percentages.

The problem I am having is that when I add the second crosstab to the report, I get a runtime error in the viewer of 'Object not found.' I get the error regardless of wether or not the second crosstab is bound to a data source. In fact, I get the error even if I delete the SqlDataSources on the report.

is it possible to have more than one crosstab on a report?

-Ed

1 Answer, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 14 Aug 2012, 03:15 PM
Hello,

Before you try to programmatically create the report, please try to generate it with the Visual Studio designer. After that use the code generated from the designer in the InitializeComponent() to teach yourself how your code should be written. You can also take a look at the code behind of our sample reports, e.g. DashBoard report (3 CrossTabs) and ProductLineSales report (2 CrossTabs).

Greetings,
Hrisi
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 >

Tags
General Discussions
Asked by
Ed M
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Share this question
or