Compilation error in designer preview setting ReportName by code

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Compilation error in designer preview setting ReportName by code

Post by Fabio Pagano »

Using version 2010.3.900.0 (tried with the 2011.1.902.0 version, same result).

If by code i call the designer and i set the ReportName property, then in the designer preview i see the compilation error:

"The method of the class, of the structure or of the interface must have a returned type" (i'm translating from Italian).

Steps to reproduce the problem:

1. Invoke the designer using the following VB code:

Code: Select all

Dim rpt As New Stimulsoft.Report.StiReport

rpt.ReportName = "a"

rpt.Design()
2. In the designer, click on "Preview" tab

3. Look in the messages at the "Error of compilation".

If you remove the line

Code: Select all

rpt.ReportName="a"


the problem disappears.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Compilation error in designer preview setting ReportName by code

Post by Alex K. »

Hello,

We are working on the problem. We will let you know when the solution is available.

Thank you.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Compilation error in designer preview setting ReportName by code

Post by Fabio Pagano »

Do you have any new on this issue?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Compilation error in designer preview setting ReportName by code

Post by Alex K. »

Hello,

We made some improvements in that direction about a several month ago. Please check the latest build.

Thank you.
Post Reply