This is my view Code:
Code: Select all
@using Stimulsoft.Report.Mvc
@using System.Web.UI.WebControls
@Html.Stimulsoft().RenderMvcViewerScripts()
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions()
{
ActionGetReportSnapshot = string.Concat("LoadReport?Id=Report.mrt"),
Width = Unit.Point(500),
Theme = StiTheme.Default,
ActionExportReport = "ExportReport",
Height = Unit.Point(400),
Controller = "GenericReport",
})
It never hits the action method, I'll get
exception, unless I add this line to the web.config{"Value cannot be null.\r\nParameter name: key"}
.<add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
This way I'll get
error message. It doesn't reach to the action method. And I should note that the Flash version renders just fine.- JavaScript runtime error: 'StiMvcViewer' is undefined
Please help, I've asked about the first exception before, http://forum.stimulsoft.com/viewtopic.php?f=13&t=40170, but I didn't find any useful answer.