市长热线演示版

callplantaskresultdataexcel.aspx 1.0KB

123456789101112131415161718192021222324
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="callplantaskresultdataexcel.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.calloutmanage.callplantaskresultdataexcel" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title></title>
  6. <script type="text/javascript">
  7. function Init() {
  8. //alert(parent.document.getElementById("htHtmlReport").value);
  9. document.getElementById("htHtmlReport").value = parent.document.getElementById("htHtmlReport").value;
  10. document.getElementById("exportExcel").click();
  11. }
  12. </script>
  13. </head>
  14. <body onload="Init();">
  15. <form id="form1" runat="server">
  16. <asp:HiddenField ID="htHtmlReport" runat="server" />
  17. <asp:LinkButton ID="exportExcel" Height="24px" runat="server" class="btnSearch"
  18. onclick="exportExcel_Click" >导出Excel</asp:LinkButton>
  19. </form>
  20. </body>
  21. </html>