Save dialog box in MVC WebDesigner

Stimulsoft Reports.WEB discussion
Post Reply
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

Save dialog box in MVC WebDesigner

Post by Buknoy Palaboy »

HI Stimulsoft Team,

Is it possible to show a dialog box upon click of save button on MVC WebDesigner in a browser overriding the default save dialog box?
This dialog box will only ask for the Report Name without the extension name and path of where to save the report. Is there a code or
a work around to do this?

Regards and Thanks,
Buknoy
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

Re: Save dialog box in MVC WebDesigner

Post by Buknoy Palaboy »

Hi Stimulsoft Team,

Any update on this issue?

Regards and Thanks,
Buknoy
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save dialog box in MVC WebDesigner

Post by Vladimir »

Hello,

Please try to set the following options:

Code: Select all

...
SaveReportTemplateMode = StiMvcDesignerOptions.SaveMode.Visible,
SaveReportTemplateAsMode = StiMvcDesignerOptions.SaveMode.Visible,
...
or

Code: Select all

...
SaveReportTemplateMode = StiMvcDesignerOptions.SaveMode.NewWindow,
SaveReportTemplateAsMode = StiMvcDesignerOptions.SaveMode.NewWindow,
...
In this case, report saving is carried out not in AJAX mode, and you can display your save report dialog.

Thank you.
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

Re: Save dialog box in MVC WebDesigner

Post by Buknoy Palaboy »

Hi Vladimir,

We'll try your suggestion and give you feedback if it works.

Regards and Thanks,
Buknoy
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save dialog box in MVC WebDesigner

Post by Vladimir »

Hello, Buknoy

Waiting for your reply.

Thank you.
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

Re: Save dialog box in MVC WebDesigner

Post by Buknoy Palaboy »

Hi Vladimir,

We can't seem to make it work. It would be great if you could give a sample project regarding this. Using the demo "Simple Report" then
use MVC WebDesigner in any browser, then upon click of save button, ignore the default dialog box and show a new dialog box that
prompts the user to give a new name for the report. Hope this is possible. Many, many thanks to you and the team.

Regards and Thanks,
Buknoy
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save dialog box in MVC WebDesigner

Post by Vladimir »

Hello, Buknoy

We have prepared an example for you, please see the web application in the attached archive.
MvcDesigner - Custom Save Dialog.zip
(1.96 MiB) Downloaded 405 times
Thank you.
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

Re: Save dialog box in MVC WebDesigner

Post by Buknoy Palaboy »

Hi Vladimir,

We are able to use the sample project you attached, although the output is not what we expected but that will do for now.
Again thank you very much for the patience in answering my questions. You and team have done a lot of great help to all of us.
Keep up the good work!

Regards and Thanks,
Buknoy
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Save dialog box in MVC WebDesigner

Post by Vladimir »

Hello, Buknoy

We are always glad to help you! Let us know if you need any additional help.

Thank you.
Post Reply