Design Button in StiMvcViewer & StiMvcViewerFx

Stimulsoft Reports.WEB discussion
Post Reply
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Design Button in StiMvcViewer & StiMvcViewerFx

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Post 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.
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Post 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.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Post by Vladimir »

Hello,

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

Thank you.
sabahat
Posts: 83
Joined: Sat Aug 13, 2011 11:20 pm

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Post by sabahat »

Hi,

OK, I'll check it after the release.

Happy Christmas and thank you for your support. :)
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Design Button in StiMvcViewer & StiMvcViewerFx

Post 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!
Post Reply