StaffReport.aspx
资源名称:OAJP.rar [点击查看]
上传用户:jdb8708888
上传日期:2013-05-29
资源大小:19971k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
C#
- <%@ Register TagPrefix="cr1" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
- <%@ Page language="c#" Codebehind="StaffReport.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Staff.Report.StaffReport" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>人员报表</title>
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <script>
- function displayoptionlabel()
- {
- var obj = document.getElementById('div_opt');
- if(obj != null)
- if(document.getElementById('div_opt').style.display != "none")
- {
- var left = parseInt(obj.style.left.substring(0,obj.style.left.length-2));
- var top = parseInt(obj.style.top.substring(0,obj.style.top.length-2));
- var width = parseInt(obj.style.width.substring(0,obj.style.width.length-2));
- var height = parseInt(obj.style.height.substring(0,obj.style.height.length-2));
- if( (event.x>(left+width)) || (event.y<top-80) || (event.y>top+height+20))
- {
- //alert('1');
- document.getElementById('div_opt').style.display = "none";
- }
- }
- else
- {
- if(event.x<10)
- {
- document.getElementById('div_opt').style.display = "";
- document.getElementById('div_opt').style.left= event.x;
- document.getElementById('div_opt').style.top= event.y;
- }
- else
- {
- document.getElementById('div_opt').style.display = "none";
- }
- }
- //obv.innerText = "event.x="+event.x+" event.y="+event.y+" left:"+left+" width:"+width+" left+width:"+(left+width)+" top:"+top+" top+height:"+(top+height);
- }
- </script>
- </HEAD>
- <body MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <CR1:CRYSTALREPORTVIEWER id="crv_StaffList" style="Z-INDEX: 102; LEFT: 0px; POSITION: absolute; TOP: 8px"
- runat="server" Height="50px" Width="350px" DisplayGroupTree="False"></CR1:CRYSTALREPORTVIEWER>
- <DIV id="div_opt" style="DISPLAY: none; Z-INDEX: 103; LEFT: 24px; WIDTH: 400px; POSITION: absolute; TOP: 232px; HEIGHT: 40px"
- ms_positioning="FlowLayout">
- <asp:linkbutton id="lbtn_IEPrint" runat="server">IE打印预览</asp:linkbutton> 格式转换
- <asp:dropdownlist id="ddl_FileFormat" runat="server">
- <asp:ListItem Value="pdf">Pdf</asp:ListItem>
- <asp:ListItem Value="doc">Word</asp:ListItem>
- </asp:dropdownlist><asp:button id="btn_Change" runat="server" Text="转换"></asp:button></DIV>
- </form>
- </body>
- </HTML>