Code: Select all
@Html.Stimulsoft().StiMvcDesigner(new StiMvcDesignerOptions()
{
ActionGetReportTemplate = "GetReportTemplate",
ActionGetReportSnapshot = "GetReportSnapshot",
ActionExportReport = "ExportReport",
Width = System.Web.UI.WebControls.Unit.Percentage(100),
Height = System.Web.UI.WebControls.Unit.Pixel(700)
})
Code: Select all
public FileResult ExportReport()
{
StiReport report = StiMvcDesigner.GetReportObject(this.Request);
return StiMvcDesigner.ExportReportResult(this.Request, report);
}
I followed the documentation found here http://www.stimulsoft.com/en/documentat ... review.htm to try to accomplish this. Is there something else that is required for the export functionality to be enabled?