Change the StiText Component value
Posted: Tue Jun 30, 2015 3:00 pm
Hi!!
I need to change the text value of a Text component in run time mode. I tried a lot ways to do it, but no success.
None of ways below works:
SistemaConsorcio si = new SistemaConsorcio();
((Stimulsoft.Report.Components.StiText)si.GetComponentByName("lblReportConsorcio")).Text = "System";
si.lblReportConsorcio.Text.Value = "System";
si.lblReportConsorcio.TextValue = "System";
Thank you for your help!!!
I need to change the text value of a Text component in run time mode. I tried a lot ways to do it, but no success.
None of ways below works:
SistemaConsorcio si = new SistemaConsorcio();
((Stimulsoft.Report.Components.StiText)si.GetComponentByName("lblReportConsorcio")).Text = "System";
si.lblReportConsorcio.Text.Value = "System";
si.lblReportConsorcio.TextValue = "System";
Thank you for your help!!!