Online Viewer, can't save

Stimulsoft Reports.NET discussion
Post Reply
ape
Posts: 20
Joined: Thu Jul 03, 2008 2:21 am

Online Viewer, can't save

Post by ape »

Hello,

i've created a report with variables ( and parameters ). on my sample asp.net site you can write a name in a textbox and the report will be produced

the report is correct, and if i want to print it to pdf works but if i want to save it as a pdf file or any other formats i get only empty pages

heres the code:

Code: Select all

 
            StiReport myReport = new StiReport();
            myReport.Load("E:\\dipl\\reports.net\\einsatzliste_ma.mrt");
            myReport.Compile();

 
            if (surname.Text != "") 
                myReport["emp_surname"] = surname.Text;

            if (!from_date.IsNull) 
                myReport["from_date"] = from_date.SelectedDate;

            if (!to_date.IsNull) 
                myReport["to_date"] = to_date.SelectedDate;

            myReport.Render();

            StiWebViewer1.Report = myReport;


greetings ape

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Online Viewer, can't save

Post by Edward »

Hello.

Please download the latest prerelease build this issue have been fixed.

Thank you.
ape
Posts: 20
Joined: Thu Jul 03, 2008 2:21 am

Online Viewer, can't save

Post by ape »

No, i've downloaded the 2008 07.07 build and it didn't work either.

Saving works if i use a report with no variables, or set standard values ( if set it shows only the report with standard values, not with the dynamic set values).

it seems that the report can't save the variables because the object is destroyed after displaying the asp.net page

is there a possible solution for my problem?
ape
Posts: 20
Joined: Thu Jul 03, 2008 2:21 am

Online Viewer, can't save

Post by ape »

I've send a sample project to support@stimulsoft.com

Post Reply