Problem switching from StiMvcMobileDesigner to StiMvcDesigne
Posted: Wed Jul 05, 2017 6:43 pm
I changed my project to StiMvcDesigner (StiMvcMobileDesigner obsolete).
Looping loading and doesn't read GetReportD method:
Public ActionResult GetReportD()
{
StiReport report = new StiReport ();
Report.Load (Server.MapPath ("~ / Content / Reports / rel_laudo_tecnico.mrt"));
Return StiMvcDesigner.GetReportResult (report);
}
@ Html.Stimulsoft (). StiMvcDesigner (new StiMvcDesignerOptions ()
{
Actions =
{
GetReport = "GetReportD",
PreviewReport = "PreviewReport",
SaveReport = "SaveReport",
DesignerEvent = "DesignerEvent"
}
, Width = System.Web.UI.WebControls.Unit.Percentage (100)
, Height = System.Web.UI.WebControls.Unit.Pixel (700)
});
Any idea?
This method is OK in debug:
public ActionResult DesignerEvent()
{
return StiMvcDesigner.DesignerEventResult();
}
Looping loading and doesn't read GetReportD method:
Public ActionResult GetReportD()
{
StiReport report = new StiReport ();
Report.Load (Server.MapPath ("~ / Content / Reports / rel_laudo_tecnico.mrt"));
Return StiMvcDesigner.GetReportResult (report);
}
@ Html.Stimulsoft (). StiMvcDesigner (new StiMvcDesignerOptions ()
{
Actions =
{
GetReport = "GetReportD",
PreviewReport = "PreviewReport",
SaveReport = "SaveReport",
DesignerEvent = "DesignerEvent"
}
, Width = System.Web.UI.WebControls.Unit.Percentage (100)
, Height = System.Web.UI.WebControls.Unit.Pixel (700)
});
Any idea?
This method is OK in debug:
public ActionResult DesignerEvent()
{
return StiMvcDesigner.DesignerEventResult();
}