Stimulsoft Reports.Net 2014.10.24 change title

Stimulsoft Reports.NET discussion
Post Reply
brillox
Posts: 4
Joined: Tue Oct 17, 2006 2:45 am
Location: Dundee

Stimulsoft Reports.Net 2014.10.24 change title

Post 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 ?
mbrillante
Posts: 4
Joined: Thu Nov 13, 2014 2:25 pm

Re: Stimulsoft Reports.Net 2014.10.24 change title

Post by mbrillante »

I found the solution:

'change subtitle text
CType(Report.GetComponentByName("Txt_Value"), StiText).Text.Value = TxtValue
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Stimulsoft Reports.Net 2014.10.24 change title

Post by Andrew »

Dear Massimo,

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

Thank you.
mbrillante
Posts: 4
Joined: Thu Nov 13, 2014 2:25 pm

Re: Stimulsoft Reports.Net 2014.10.24 change title

Post by mbrillante »

Yes that is correct
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Stimulsoft Reports.Net 2014.10.24 change title

Post by Andrew »

Ok. Thank you and have a nice weekend.
Post Reply