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 ?
change report title programmatically
-
- Posts: 4
- Joined: Thu Nov 13, 2014 2:25 pm
Re: change report title programmatically
Hello,
We couldn't reproduce this bug.
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
We couldn't reproduce this bug.
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
-
- Posts: 4
- Joined: Thu Nov 13, 2014 2:25 pm
Re: change report title programmatically
sorry, this is a duplication of http://forum.stimulsoft.com/viewtopic.p ... 641#p75641
the solution is:
'change subtitle text
CType(Report.GetComponentByName("Txt_Value"), StiText).Text.Value = TxtValue
the solution is:
'change subtitle text
CType(Report.GetComponentByName("Txt_Value"), StiText).Text.Value = TxtValue
Re: change report title programmatically
Ok, Massimo))