where is my new report saved?

Stimulsoft Reports.WEB discussion
Post Reply
shaof
Posts: 5
Joined: Wed Jun 02, 2010 10:50 pm

where is my new report saved?

Post by shaof »

I am trying the trial version of Stimulsoft Reports.Web
At runtime I clicked on Creat button to bring up the create mode, after added some components onto the report I clicked on Save button. Where is the new report saved? I couldn't find it anywhere within my project.....

Also when I click on Design button to make some changes to the report, the changes don't seem to be saved either.....

Is ther anything I am doing wrong? thanks in advance
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

where is my new report saved?

Post by Vladimir »

Hello,

To save a report on the server you must handle the SaveReport event, which will occur when you click the Save button. In the event args will be passed the edited report:

Code: Select all

protected void StiWebDesigner1_SaveReport(object sender, StiWebDesigner.StiSaveReportEventArgs e)
(
    e.Report.Save(.....);
)
To load a report in the web designer, you can use the following code:

Code: Select all

StiReport report = new StiReport();
report.Load(.....);
StiWebDesigner1.Report = report;

Thank you.
Post Reply