Page 1 of 1

Switch Between MvcViewer to MvcDesign

Posted: Tue Nov 10, 2015 12:53 pm
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...
}

Re: Switch Between MvcViewer to MvcDesign

Posted: Tue Nov 10, 2015 1:33 pm
by HighAley
Hello.

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

Thank you.