<html>
<head>
<title>flyReport</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="/Flyer/FlyReportPrint/CreateControl.js" language="javascript"></script>
<script language="javascript" type="text/javascript">
// <!CDATA[
CreateReport("ReportLeft");
CreateReport("ReportRight");
//在网页初始加载时向报表提供数据
function window_onload() {
//关联子报表部件框的报表对象
ReportViewer.Report.ControlByName("flyReport_left").AsSubReport.Report = ReportLeft.MyInterface;
ReportViewer.Report.ControlByName("flyReport_right").AsSubReport.Report = ReportRight.MyInterface;
//开启报表生成进度条显示
ReportViewer.Report.ShowProgressUI = true;
//启动运行
ReportViewer.Start();
}
// ]]>
</script>
<script event="Initialize()" for="ReportLeft" language="javascript">
<!--
//载入子报表数据
ReportLeft.LoadDataFromURL("/Flyer/FlyReportPrint/FlyReportPrint.do?id=230812_90988_116126&operFlag=left");
-->
</script>
<script event="Initialize()" for="ReportRight" language="javascript">
<!--
//载入子报表数据
ReportRight.LoadDataFromURL("/Flyer/FlyReportPrint/FlyReportPrint.do?id=230812_90988_116126&operFlag=right");
-->
</script>
<style type="text/css">
html,body {
margin:0;
height:100%;
}
</style>
</head>
<body style="margin:0" onload="window_onload()">
<script language="javascript">
CreatePrintViewerEx("100%", "100%", "/Flyer/FlyReportPrint/flyReport_main.grf", "", false, "");
</script>
</body>
</html>
