Page 1 of 1

Design Button in StiMvcViewer & StiMvcViewerFx

Posted: Sat Dec 14, 2013 8:36 am
by sabahat
Hi,

In StiMvcViewer there are options for "ShowButtonDesign" and "ActionDesignReport" which allows us to redirect to the designer from the viewer control. But I couldn't find a way to pass some URL parameters to the design action based on the loaded report.
For example in Stimulsoft online demos when I click on the design button I'm redirected to the following URL:

http://webfx.stimulsoft.com/?stimulsoft ... df436c44e0

Do you have any sample on how to pass some parameters by query string or any other means?

Another issue:

In StiMvcViewerFx there is an option for "ShowButtonDesign" but no one for "ActionDesignReport" and clicking on design button does nothing. Is it a not implemented feature or am I missing something?

I'm using the latest prerelease build.

Thanks for your support.

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Posted: Tue Dec 17, 2013 7:57 am
by HighAley
Hello.

Here is a sample code where you could learn how to use ActionDesignReport and how to get report there:

Code: Select all

public ActionResult DesignReport()
        {
            StiReport report = StiMvcViewer.GetReportObject(HttpContext);
            return new StiActionResult();
        }
new StiMvcViewerOptions {
        ActionDesignReport = "DesignReport"}
Thank you.

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Posted: Thu Dec 19, 2013 8:34 am
by sabahat
Hi,
I got it working on StiMvcViewer using the sample you provided. But what about StiMvcViewerFx ? As I mentioned in my post, there is no "ActionDesignReport" in "StiMvcViewerFxOptions". :(

Thanks.

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Posted: Mon Dec 23, 2013 7:53 am
by Vladimir
Hello,

This action is absent in current version. We will add it to the next prerelease build this week.

Thank you.

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Posted: Tue Dec 24, 2013 5:18 pm
by sabahat
Hi,

OK, I'll check it after the release.

Happy Christmas and thank you for your support. :)

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Posted: Wed Dec 25, 2013 4:02 am
by Andrew
Hello,

Please, when we the release is uploaded, let us know about the result.

May this Christmas be the happiest in your life!