Page 1 of 1

Stimulsoft Reports.Net 2014.10.24 change title

Posted: Thu Nov 13, 2014 2:15 pm
by brillox
Hi,

I had a 2013 version of stimulsoft.net and in my code I am changing the report title in the code behind (VB.net) as this
CType(Report.Pages("Audit").GetComponents("Txt_Value"), Stimulsoft.Report.Components.StiText).Text.Value = TxtValue

with the latest version 2014.10.24 I get an error cannot convert type string to parameter sticollection

any idea how to programmatically change the report title now ?

Re: Stimulsoft Reports.Net 2014.10.24 change title

Posted: Thu Nov 13, 2014 3:50 pm
by mbrillante
I found the solution:

'change subtitle text
CType(Report.GetComponentByName("Txt_Value"), StiText).Text.Value = TxtValue

Re: Stimulsoft Reports.Net 2014.10.24 change title

Posted: Fri Nov 14, 2014 10:55 am
by Andrew
Dear Massimo,

Thank you for the question. Does this mean that the issue is solved?

Thank you.

Re: Stimulsoft Reports.Net 2014.10.24 change title

Posted: Fri Nov 14, 2014 12:10 pm
by mbrillante
Yes that is correct

Re: Stimulsoft Reports.Net 2014.10.24 change title

Posted: Fri Nov 14, 2014 12:15 pm
by Andrew
Ok. Thank you and have a nice weekend.