I have created a MVC project with stimulsoft that has used MvcMobileDesigner. When I want call designer method(ActionGetReportTemplate ) associate two additional data my action don't fill with correct data. my code is:
Code: Select all
@Html.Stimulsoft().StiMvcMobileDesigner("StiMVCMobile1", new StiMvcMobileDesignerOptions()
{
Theme = StiTheme.Office2013LightGrayPurple,
ActionGetReportTemplate = "GetReportTemplate",
ActionGetReportSnapshot = "GetReportSnapshot",
ActionSaveReportTemplate = "SaveReportTemplate",
ActionDesignerEvent = "DesignerEvent",
Width = Unit.Percentage(100),
Height = Unit.Pixel(600),
ShowSaveDialog = true,
ShowFileMenuExit = false,
ShowFileMenuNew = false,
Localization = localize,
})
Code: Select all
public ActionResult GetReportTemplate(string id,string objString)
{
//id or objString parameter is null
return StiMvcMobileDesigner.GetReportTemplateResult(HttpContext, sreport);
}
public ActionResult CreatePrintable(string id,string objString)
{
return View();
}
appreciate you Abbas Mirzaei