$(function () {
var reportId = request('reportId');
reportId = decodeURI(reportId);
var viewer = GrapeCity.ActiveReports.Viewer(
{
element: '#viewerContainer',
report: {
id: "Reports/" + reportId
},
reportService: {
url: '/WebService1.asmx'
},
uiType: 'desktop'
});
});
这个应该是JSviewer的方式吧,因该没错啊 |