Page 1 of 1

Intercept Save on client and update frame

Posted: Tue Sep 23, 2014 6:23 pm
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

Re: Intercept Save on client and update frame

Posted: Wed Sep 24, 2014 11:12 am
by Vladimir
Hello,

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

Thank you.

Re: Intercept Save on client and update frame

Posted: Wed Sep 24, 2014 11:55 am
by Werlang
Hello Vladimir

It's the MVC designer.

Re: Intercept Save on client and update frame

Posted: Thu Sep 25, 2014 12:54 pm
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.