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

Reporting without wizard and standart style

3 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Onder
Top achievements
Rank 1
Onder asked on 03 Jun 2014, 06:55 AM
I have to create a report in C# with a design like tables in tables. Repeating datas have different column and row counts and different data types (string and bool). So I can not use wizard an I have to create it in code behind.

The answers you gave far questions like this leads to videos and help pages which are teaching wizards. I could not find a good answer for my question at the and of google search for 3 days and 38 hours. Please help.

3 Answers, 1 is accepted

Sort by
0
KS
Top achievements
Rank 1
answered on 04 Jun 2014, 04:15 PM
Hi,

I believe this in contradiction with the idea of having a static template for a document. Use a ReportBook and gather reports, where each report has a different Table. The Table can be created and added at run time.


-KS
0
Onder
Top achievements
Rank 1
answered on 05 Jun 2014, 01:03 PM
Hi,
As you said, it is not possible to create a static report and I'm not trying to do it. I have been trying to create it in runtime.

ReportBook is not an option for this situation because tables will be created by datasource. So I tried to create objects in detail's item data bound; created a Teleric.Reporting.Textbox but it can not be added to parent container (panel). In 2009, there was a similar question and it was unanswered (http://www.telerik.com/forums/how-to-design-the-details-section-of-a-group-at-the-run-time). This question's answer will be a good answer for me and many others.
0
KS
Top achievements
Rank 1
answered on 10 Jun 2014, 09:14 AM
Hi,

The discussion leads to the same conclusion that you should not use events to change the report (some events info). To my knowledge, all sections are repeated for each data record, so changing the table in one section only is not going to change it everywhere. If there is a ReportBook, there can be as many as needed reports, each with individual Detail section having its own Table (even built dynamically based on data)..

-KS
Tags
General Discussions
Asked by
Onder
Top achievements
Rank 1
Answers by
KS
Top achievements
Rank 1
Onder
Top achievements
Rank 1
Share this question
or