Page 1 of 1

Compilation error in designer preview setting ReportName by code

Posted: Tue Dec 21, 2010 5:02 pm
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.

Compilation error in designer preview setting ReportName by code

Posted: Wed Dec 22, 2010 8:31 am
by Alex K.
Hello,

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

Thank you.

Compilation error in designer preview setting ReportName by code

Posted: Fri Apr 15, 2011 2:33 pm
by Fabio Pagano
Do you have any new on this issue?

Compilation error in designer preview setting ReportName by code

Posted: Mon Apr 18, 2011 1:15 am
by Alex K.
Hello,

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

Thank you.