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

Duplicate table when use report parameters programmatically

7 Answers 121 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Thien
Top achievements
Rank 1
Thien asked on 02 Mar 2016, 10:26 AM

Hello

I have issue when I use report parameters programmatically.

When I chose Category return 3 record it show 3 similar table

I want when I chose Category return 3 record it only show 1 table.

Thanks

Thien

7 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 03 Mar 2016, 05:19 PM
Hi Thien,

Based on your screenshots, it looks like the report and the Table item are bound to the same data source.

In general, the report will produce a Detail section per record in its DataSource. Thus the Detail section will repeat, including its content - the Table item. Additionally, the Table item's DataSource is set and the item also visualizes data.

Thus you can:
  1. Reset the Report's DataSource, and leave assigned only the Table.DataSource property;
  2. Remove the Table item and place TextBox items directly in the report's Detail section.


I hope this information is helpful.

Regards,
Stef
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
Thien
Top achievements
Rank 1
answered on 04 Mar 2016, 01:52 AM
Thanks Stef, I resolve it!
0
Sath
Top achievements
Rank 1
answered on 21 Apr 2019, 06:46 AM
This is nice, it works on mine. Great thanks guys!
0
Donal
Top achievements
Rank 1
answered on 07 May 2020, 03:57 AM
[quote]Stef said:Hi Thien,

Based on your screenshots, it looks like the report and the Table item are bound to the same data source.

In general, the report will produce a Detail section per record in its DataSource. Thus the Detail section will repeat, including its content - the Table item. Additionally, the Table item's DataSource is set and the item also visualizes data.

Thus you can:
  1. Reset the Report's DataSource, and leave assigned only the Table.DataSource property;
  2. Remove the Table item and place TextBox items directly in the report's Detail section.


I hope this information is helpful.

Regards,
Stef
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
[/quote]
Hi Stef
I followed your instructions but file .cs from asp.net can't call datatable in Telerik Report Designer
0
Neli
Telerik team
answered on 11 May 2020, 10:47 AM

Hello Donal,

Can you give us more details about the report and its scenario, so we can provide any options? Also, which version of Telerik Reporting do you use?

Regards,
Neli
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Donal
Top achievements
Rank 1
answered on 18 May 2020, 09:39 AM

Hi Neli,

I 'm using Telerik report version 11.1.17.503

I had a problem when I used the parameter on the webform to pass it into the telerik reporting designer, the output was displayed on a webform screen displaying 1 page but when I exported to an excel file, I got a duplicate table error.
This post helped fixing duplicate table error in Telerik Report Designer but I can't call data table from Telerik Report Designer file to load on webform.
Can You help me how to use parameter on webform to load datatable from telerik file?
Ths!

0
Katia
Telerik team
answered on 21 May 2020, 06:00 AM

Hi Donal,

You can test the approach suggested in How to: Bind to a DataTable help article that explains how to use an ObjectDataSource to load the data from a DataTable.

 

Regards,
Katia
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Report Designer (standalone)
Asked by
Thien
Top achievements
Rank 1
Answers by
Stef
Telerik team
Thien
Top achievements
Rank 1
Sath
Top achievements
Rank 1
Donal
Top achievements
Rank 1
Neli
Telerik team
Katia
Telerik team
Share this question
or