Switch Between MvcViewer to MvcDesign

Stimulsoft Reports.WEB discussion
Post Reply
Abbas
Posts: 27
Joined: Tue Oct 13, 2015 2:10 pm

Switch Between MvcViewer to MvcDesign

Post by Abbas »

Hi every one...
I have a Mvc Web App And I use Stimulsoft for Reporting in my app
How I can Switch form stiMvcViewer to StiMvcDesigner with same datasource in my viewer that my end user can design her/his report.... I want to I do exactly Like stimul Live demo in http://mobile.stimulsoft.com/ with design button
My View Like Below:

Code: Select all

 @Html.Stimulsoft().StiMvcViewer("MvcViewer", options: new StiMvcViewerOptions
     {
         Theme = StiTheme.Office2013WhiteOrange,
         Actions =
           {
               GetReportSnapshot = "GetReportSnapshotForDaily",
               ViewerEvent = "ViewerEvent",
               DesignReport = "GetReportTemplate"
           },
                Toolbar =
        {
            ShowDesignButton=true,
         },
         Server =
        {
            UseRelativeUrls = true
        }
     })
And My Controller is:
public ActionResult GetReportTemplate()
{
//what do i write here...
}
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Switch Between MvcViewer to MvcDesign

Post by HighAley »

Hello.

The Data Source settings are stored in report template.
You could just open the report in the Designer.

Thank you.
Post Reply