Visual Basic Syntax for StiMvcDesigner
Posted: Thu Oct 18, 2018 5:50 am
Hi everyone,
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.
The code is loading the report designer by given a report template.
From the Programming Manual, the new syntax is
It is not working as my project is a VB project.
Anyone can help me for that?
Regards,
Jansen Lam
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