Display messages/exceptions in StiMvcMobileDesigner
Posted: Wed Jul 13, 2016 1:09 pm
Hi Stimulsoft,
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:
However, with StiMvcMobileDesigner I only have this method to return:
Is there a way to provide feedback to an end user regarding success/failure messages using the StiMvcMobileDesigner control?
Thanks!
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!