Intercept Save on client and update frame

Stimulsoft Reports.WEB discussion
Post Reply
Werlang
Posts: 26
Joined: Wed Feb 20, 2013 1:50 pm

Intercept Save on client and update frame

Post by Werlang »

Hello

Our end-user designer is shown inside a window with a list of report templates. Imagine something like http://web.stimulsoft.com/ but with a designer within it.
We want to get informed when a user saves a report (Save a new report ou Save an existing repor with another name) to update this list.
We're wondering if there's a DOM event we could handle.

We are using flash designer.

Thanks in advance
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Intercept Save on client and update frame

Post by Vladimir »

Hello,

Please specify what Flash designer you are using - ASP.NET or MVC ?

Thank you.
Werlang
Posts: 26
Joined: Wed Feb 20, 2013 1:50 pm

Re: Intercept Save on client and update frame

Post by Werlang »

Hello Vladimir

It's the MVC designer.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Intercept Save on client and update frame

Post by Vladimir »

Hello,

Please update to the latest prerelease build, and you can use this code:

Code: Select all

    <script type="text/javascript">
          function Hello(action) {
            alert("Stimulsoft Designer Action: " + action);
        }
    </script>
   @Html.Stimulsoft().StiMvcDesigner(new StiMvcDesignerOptions() {
        Controller = "Config",
        DesignerEventFunction = "Hello"
But unfortunately, at the moment in the parameter is passed only the type of action. Parameters such as the name not transmitted.

Thank you.
Post Reply