I just upgraded my MVC project of Stimulsoft Report from 2014.1.1900 to 2018.3.2. But found that some of the code does not work. e.g.
Code: Select all
@Html.Stimulsoft().RenderMvcDesignerScripts()
@Html.Stimulsoft().StiMvcDesigner("MvcDesigner1", New StiMvcDesignerOptions With {
.ActionGetReportTemplate = "GetReportTemplate",
.ActionOpenReportTemplate = "OpenReportTemplate",
.ActionSaveReportTemplate = "SaveReportTemplate",
.ActionDesignerEvent = "DesignerEvent",
.ShowFileMenuOpen = False,
.ShowFileMenuNew = False,
.ShowFileMenuClose = False,
.ShowPreviewButton = False
})
From the Programming Manual, the new syntax is
Code: Select all
@Html.Stimulsoft().StiMvcDesigner("MvcDesigner1",
new StiMvcDesignerOptions() {
Actions =
{
GetReport = "GetReport",
DesignerEvent = "DesignerEvent"
}
})
Anyone can help me for that?
Regards,
Jansen Lam