Online Viewer, can't save
Posted: Thu Jul 10, 2008 8:51 am
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:
greetings ape
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