DS7/DSWeb/Reports/SeaExportReport.aspx

55 lines
2.3 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SeaExportReport.aspx.cs" Inherits="DSWeb.Reports.SeaExportReport" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<style type="text/css">
td{
font-size:14px;
}
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
.ck{border:1px solid #A0A0A4; border-color:#6699CC;}
.btn
{
width:100px;
BORDER-RIGHT: #2C59AA 1px solid;
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid
}
dvTitle{
font-size:12px;
}
</style>
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
<script type="text/javascript">
function $(id){
return document.getElementById(id);
}
function printAction(){
// var prntUrl = "";
// prntUrl = $("h_printurl").value;
// window.location.href = window.location.href; // location.href = prntUrl;//newUrl+"handle=edit&id="+strBSNO;
var printUrl = ""; var companyID = "2222"; var typeName = "SEAOP"; var dbSourceID = "33333"; var userID = "345354354"; printUrl = "print://?comp="+companyID+"&type="+typeName+"&dbid="+dbSourceID+"&uid="+userID;alert(printUrl); window.location.href = window.location.href; location.href = printUrl;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div style="width:900px;height:700px; overflow:scroll; border:1px solid;">
<div class="btn-content">
<div class="btn-blank"></div>
<div class="xbtn-img" onclick="printAction()">
<div class="btnimg">
<img src="../images/printer.gif" /></div>
</div>
</div>
<input type="hidden" id="h_bsno" runat="server" />
<input type="hidden" id="h_printurl" runat="server" />
</form>
</body>
</html>