Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\RecordEquipmentReject\Inport.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Inport.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentReject.Inport" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="List.aspx"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmRecordEquipmentReject" action=""> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("RecordEquipmentReject_??????").ToScriptTag() %>"> <%= Define.Get("RecordEquipmentReject_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlHidden("FileName", null) { Class = "ipt-t ipt-t-dft " }%> <div> <div id="silverlightControlHost"> <object id="MultiFileUploader" data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="500" height="50"> <param name="source" value="../../Tools/SilverlightMultiFileUploader/ClientBin/mpost.SilverlightSingleFileUpload.xap" /> <param name="onerror" value="onSilverlightError" /> <param name="initParams" value="MaxFileSizeKB=,FileFilter=Excel 97-2003 ?????(*.xls)|*.xls|???????*.*,ChunkSize=4194304,CustomParams=yourparameters,DefaultColor=White" /> <param name="background" value="white" /> <param name="onload" value="pluginLoaded" /> <param name="minRuntimeVersion" value="4.0.50401.0" /> <param name="autoUpgrade" value="true" /> <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration: none"> <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style: none" /> </a> </object> <iframe id="_sl_historyFrame" style="visibility: hidden; height: 0px; width: 0px; border: 0px"></iframe> </div> <script type="text/javascript"> function onSilverlightError(sender, args) { var appSource = ""; if (sender != null && sender != 0) { appSource = sender.getHost().Source; } var errorType = args.ErrorType; var iErrorCode = args.ErrorCode; var errMsg = "Unhandled Error in Silverlight 2 Application " + appSource + ""; errMsg += "Code: " + iErrorCode + " "; errMsg += "Category: " + errorType + " "; errMsg += "Message: " + args.ErrorMessage + " "; if (errorType == "ParserError") { errMsg += "File: " + args.xamlFile + " "; errMsg += "Line: " + args.lineNumber + " "; errMsg += "Position: " + args.charPosition + " "; } else if (errorType == "RuntimeError") { if (args.lineNumber != 0) { errMsg += "Line: " + args.lineNumber + " "; errMsg += "Position: " + args.charPosition + " "; } errMsg += "MethodName: " + args.methodName + " "; } throw new Error(errMsg); } var slCtl = null; function pluginLoaded(sender) { slCtl = document.getElementById("MultiFileUploader"); slCtl.Content.Files.AllFilesFinished = AllFilesFinished; } function AllFilesFinished() { if (slCtl != null) { if (slCtl.Content.Files.FileList[0].StateString == "Finished") { var finalName = ""; var indexLen = slCtl.Content.Files.FileList[0].FileName.lastIndexOf("."); if (indexLen != -1) { finalName = slCtl.Content.Files.FileList[0].FileName.substr(0, indexLen); finalName += "<%= Session.SessionID %>"; finalName += slCtl.Content.Files.FileList[0].FileName.substr(indexLen, slCtl.Content.Files.FileList[0].FileName.length - indexLen); } else { finalName = "<%= Session.SessionID %>" + slCtl.Content.Files.FileList[0].FileName; } $("#frmRecordEquipmentReject [Name=FileName]").val(finalName); } } } </script> </div> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", "Inport(this);") { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= Define.Get("RecordEquipmentReject_??????").HtmlEncode() %></span></div> </td> </tr> <tr> <th> </th> <td> ????? <br /> 1???????????????????? <br /> 2????????????????????????,????????????Excel2003?? <br /> ??????????? <a href="/Resource/ExcelTemplate/????????????.xls" style="color: #0F91DB">????????????.xls</a> </td> </tr> </table> </form> </div> </div> </div> </div> <iframe id="frmDownload" src="" style="display: none"></iframe> </div></div></div></div></body> </html> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/RecordEquipmentRejectAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmRecordEquipmentReject", alertMessage: true, showMessage:false }); //????? $("#frmRecordEquipmentReject [name=FileName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("RecordEquipmentReject_????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Inport(send) { RecordEquipmentRejectAjax.Inport($("#frmRecordEquipmentReject"), send, function (json) { alert("<%= Define.Get("RecordEquipmentReject_???????????").ToScriptChar() %>" + json.Count); document.getElementById("frmDownload").src=json.DataUrl; }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de