How I Can Retrive TextBox Value

Stimulsoft Reports.NET discussion
Post Reply
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

How I Can Retrive TextBox Value

Post by Ivan »

Hello,

During report rendering exist two instance of each component (minimum two instance). One instance - component in report template. Second instance - component which created for rendered report. During creation of second instance report engine calculate expressions and write it to second instance. When you write expression like this:

Code: Select all

	{Text1.Text}
you call instances from report template which does not contain calculated values from expressions.

You can:
1. Instead of "{Text1.TextValue}" expression use the same expression as in Text1.Text property, or
2. Use variables. In this case you can calculate value in variable, and then use this variable in expressions.

Thank you.
Post Reply