问题详述:
我们的页面中引用了<script src="~/Scripts/GrapeCity.ActiveReports.Viewer.Html.js"></script>:
var viewer = GrapeCity.ActiveReports.Viewer(
{
element: '#viewerContainer',
report: {
id: "/AR_Rpts/" + rptName + ".rpx",
parameters: params_array
},
reportService: {
url: '/AR_Services/ActiveReportsService.asmx'
},
uiType: 'desktop'
});
GrapeCity.ActiveReports.Viewer.Html.js中这样定义:
}, window.GrapeCity = {
ActiveReports: {
Viewer: createViewer
}
};
在IE8下就会直接报GrapeCity未定义,别的浏览器下没有问题。 |