Page 1 of 1

Cannot convert type 'Stimulsoft.Report.Web.StiWebReport' to 'Stimulsoft.Report.StiReport'

Posted: Tue Aug 19, 2008 9:13 am
by forestmarie
Just downloaded the trial and am trying to display a report in Visual Studio 2008/.NET 3.5 in a web application.

I've looked at the demo video and it shows it dragging a StiReport object onto the form.

My problem is I only have access from the toolbox to StiWebReport and StiWebViewer.

It seems as if the StiWebViewer's Report property is exposing a StiReport instance rather than a StiWebReport instance.

If any there reason why I am not getting the StiReport on my toolbox?

:toothgr:

Thanks.

Cannot convert type 'Stimulsoft.Report.Web.StiWebReport' to 'Stimulsoft.Report.StiReport'

Posted: Wed Aug 20, 2008 12:12 pm
by Edward
Hello.

Yes, it is true, StiWebViewer.Report property has type of the StiReport.

StiWebReport is a sort of 'container' for the StiReport class.

Please assign that property as following:

Code: Select all

stiWebViewer1.Report = stiWebReport1.GetReport();
Thank you.