Full version saved in the server

Stimulsoft Reports.WEB discussion
Post Reply
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Full version saved in the server

Post by jpascual »

I'm doing tests with the demo version of the component and the report editor can not save the changes.
I want to know whether the full version when you modify a Web report, the server is stored in the same or modified file is saved on the local computer.
thanks
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Full version saved in the server

Post by Jan »

Hello,

You need release event SaveReport of StiWebDesigner. Please check attached report.

Thank you.
Attachments
507.LoadSaveDemo.zip
(305.97 KiB) Downloaded 257 times
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Full version saved in the server

Post by jpascual »

I've save the report with the following code:
Dim As StiReport = e.Report oRep
e.Report.Save (savepath)

But I have a problem, as redirects to load the form so that after the 'save' shows the viewer instead of the designer. I need the code as if you press 'Exit' from designer
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Full version saved in the server

Post by Vladimir »

Hello,

To do this you need to set the SaveMode property to Visible, and, in the SaveReport event, after your code, add a redirect to the viewer page:

Code: Select all

protected void StiWebDesigner1_SaveReport(object sender, StiWebDesigner.StiSaveReportEventArgs e)
{
    ...
    Page.Response.Redirect("ViewerPage.aspx");
}

Thank you.
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Full version saved in the server

Post by jpascual »

I work with StiWebViewerFx control and does not own savemode

Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Full version saved in the server

Post by Andrew »

Hello,

It seems I do not understand your question. Could you, please clarify your issue?

Thank you.
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Full version saved in the server

Post by jpascual »

Sorry, my mistake was that I thought the property was in control in StiWebViewerFx and was in StiWebDesigner control. Thanks already works.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Full version saved in the server

Post by Andrew »

Ok! Great! :biggrin:
Post Reply