change textbox text

Stimulsoft Reports.NET discussion
Post Reply
Sundara Manikandan
Posts: 14
Joined: Tue Dec 29, 2009 11:21 pm
Location: Chennai

change textbox text

Post by Sundara Manikandan »

Hi,

I am obviously missing something.

Is it possible to change the text of a text box in the header via code at runtime?

If so, how?

Thanks in advance

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

change textbox text

Post by Edward »

Hi

Yes, that is possible.

Please write the following code in BeforePrint event of the header band:

Text1.TextValue = "myNewText";

Thank you.
Sundara Manikandan
Posts: 14
Joined: Tue Dec 29, 2009 11:21 pm
Location: Chennai

change textbox text

Post by Sundara Manikandan »

Thank you so much.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

change textbox text

Post by Edward »

Hi

You are welcome:)

Let us know if any help is required.

Thank you.
Post Reply