Page 1 of 1

How to correctly invoke report preview and designer for both Web and Win platform?

Posted: Sun Dec 18, 2011 5:19 am
by Alkatraz
Hello!

We used Stimulsoft report before, until we transfered to Devexpress ExpressApplication Framework platform and now we need to integrate Stimulsoft reports in platform agnostic module.

Firstly, all reports is stored within a database. Secondly, there is a module wich invokes report preview and designer for both Web and Win platform. And lastly, after designer closes, all modifications must be saved in to the database.

We managed to open preview and designer for Win platform. It was easy indeed, but we stumbled upon the problem of implementing the same functionality for Web platform.

How to correctly open report preview and designer, and save modifications, made to the report, to database after designer closes in Web?

Thank you!

How to correctly invoke report preview and designer for both Web and Win platform?

Posted: Mon Dec 19, 2011 7:32 am
by Vladimir
Hello,

If you close the designer by using the button "Exit" in the designer main menu, a dialog window asking you to save changes. If you close your Internet browser, the designer cannot handle this action and changes may be lost. To avoid such a situation, you can configure the report auto-save:

StiWebDesignerOptions.AutoSaveInterval = 5;   // minutes

Thank you.

How to correctly invoke report preview and designer for both Web and Win platform?

Posted: Thu Dec 22, 2011 3:30 am
by Alkatraz
Since all our reports is stored in database, we want to disable save report dialog window and replace it with code that saves report to the database. Is this possible?

How to correctly invoke report preview and designer for both Web and Win platform?

Posted: Fri Dec 23, 2011 3:09 am
by Alex K.
Hello,

You can describe on the save events in designer
StiOptions.Engine.GlobalEvents.SavedReportInDesigner
and implement your method for saving.

Thank you.