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

How to assing valus to textbox on Telerik Report

3 Answers 195 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kem Arda
Top achievements
Rank 1
Kem Arda asked on 26 Aug 2009, 01:08 PM
In  MytextBox_ItemDataBound event of MytextBox that resides in my group footer section on my report, I get values of a data bound textbox  (MytextBox ) and i add them and get the result. And i just wannto assign that result to a non-data bound textbox that resides in PageFooter of my report. How can i do that?

I tried this.NonDataBountextBox.Value = tfinalresult.ToString(); in MytextBox_ItemDataBound  evetn, however it did not work.

And how can i do that, in every single report page and assign the result to the non-data bound textbox in every page separately? I mean not all the data bound MytextBox of whole report but ones on every page individually.

Thanks ...

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Chris Gillies
Top achievements
Rank 1
answered on 27 Aug 2009, 09:30 AM
I've found this thread to show what you need Using data source fields in Page Sections, however I do not believe this can be done per page basis as the processing does not depend on the paging i.e. they are different and you do not know what is rendered where until the report is processed.
0
Kem Arda
Top achievements
Rank 1
answered on 28 Aug 2009, 02:01 PM
Well, what is exactly  "processingReport" there in following code?

Telerik.Reporting.Processing.TextBox rhName =
                (Telerik.Reporting.Processing.TextBox)processingReport.Items.Find("rhNameData", true)[0];
            string name = rhName.Text;

Thanks...
0
Accepted
Steve
Telerik team
answered on 28 Aug 2009, 02:33 PM
Hi Kem Arda,

Explanation of what is processing and what is definition item is available in this article: Understanding Report Items.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Kem Arda
Top achievements
Rank 1
Answers by
Chris Gillies
Top achievements
Rank 1
Kem Arda
Top achievements
Rank 1
Steve
Telerik team
Share this question
or