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

Telerik Reporting Table Problem

2 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lindsey Kelly
Top achievements
Rank 1
Lindsey Kelly asked on 17 Aug 2009, 05:19 PM
In the detail section of my report, I have a "Document History" section that consists of a table.  Depending on the particular invoice that my report is viewing, there could be a number of rows on my table. Right now if I had another row from the invoice, my textboxes would obviously just over-write themselves.  I need to know how to programmatically create new rows with textboxes on my table. 

            for (int i = 0; i < invoice.Audit.Steps.Count; i++) 
            { 
                this.textBox10.Value = invoice.Audit.Steps[i].User; 
                this.textBox11.Value = invoice.Audit.Steps[i].Status; 
                this.textBox12.Value = invoice.Audit.Steps[i].Date; 
            } 



2 Answers, 1 is accepted

Sort by
0
Lindsey Kelly
Top achievements
Rank 1
answered on 18 Aug 2009, 02:25 PM
If this is not possible, is there another tool that anyone can suggest for me to use?  Seems like most of the use textboxes.
0
Accepted
Milen
Telerik team
answered on 19 Aug 2009, 11:37 AM
Hi Lindsey Kelly,

To show the History information, you can use a Table item, which has its own datasource (different than the one of the report itself). Add a Table in the detail section using the TableWizard toolbox item and provide the datasource with the history records. The item will take care of adding the necessary rows when reading the its datasource at runtime so you do not need to loop through the records.

Hope this information helps.

Sincerely yours,
Milen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Lindsey Kelly
Top achievements
Rank 1
Answers by
Lindsey Kelly
Top achievements
Rank 1
Milen
Telerik team
Share this question
or