I've been tasked with migrating our Stimulsoft implementation to the latest 2016 version.
They are specifically interested in the HTML5 designer.
Previously we were using StiMvcDesigner which is based on Flash. Using that control I was able to display success and error messages using the following approach:
Code: Select all
public ActionResult SaveReportTemplate()
{
try
{
// Get report from designer
StiReport report = StiMvcDesigner.GetReportObject(this.Request);
//... Save the file...
return StiMvcDesigner.SaveReportResult("Report Saved!");
}
catch (Exception ex)
{
return StiMvcDesigner.SaveReportResult(string.Format("Could not save report! Exception: {0}", ex.Message));
}
Code: Select all
return StiMvcMobileDesigner.SaveReportTemplateResult(this.HttpContext);
Thanks!