Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Tools\Subject\InportSTVideoScore.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InportSTVideoScore.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Tools.Subject.InportSTVideoScore" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>????????</title> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/jquery.1.9.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.ScriptTheme("js/jquery-ui.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("/global.aspx")%> <%= Import.Script("js", "/global.js")%> </head> <body> <form id="frmSTVideoScoreInport" action="" method="post" onsubmit="return false;"> <table border="0" cellpadding="2px" cellspacing="2px" class="myTab"> <tr> <td style="text-align: right; width: 345px;"><span class="label"><span class="required">*</span>????????</span></td> <td> <%= new HtmlSelect("ParentSubject", "Name", "Guid", "Guid") { Option = CreateInstance.SubjectDao.Where(l => 1 == 1).ToList() }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).Style(new { Margin_Bottom="20px"})%> </td> </tr> <tr> <td style="text-align: right; width: 345px;"><span class="label"><span class="required">*</span>?????????</span></td> <td> <%= new HtmlHidden("FileName", null) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileName")%> <%= new SingleUploadInstance(this) { UploadTag = "FileName", Accept = ".xlsx", UploadControlName="????????"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "FileName", InitParams = "FileFilter=???????????(*.xls)|*.xls,DefaultColor=#F5F5F5F5,SelectFiles=??????????????,Upload=???????????" }.ToHtml()%> --%> <script type="text/javascript"> function UploadFinishedFileName(fileName, fileSize) { $("#frmSTVideoScoreInport [Name=FileName]").val(fileName); } </script> </td> </tr> <tr> <td style="text-align: right;"></td> <td> <%= new HtmlSubmit("????????", "STVideoScoreInport", "STVideoScoreInportClient(this);").Style(new { Width = "100px" })%> </td> </tr> </table> </form> <iframe id="frmDownload" src="" style="display: none"></iframe> <script type="text/ecmascript"> //?????? $.validator.initConfig({ validatorGroup: "STVideoScoreInport", form: "#frmSTVideoScoreInport", alertMessage: true, showMessage: false }); //??????? $("#frmSTVideoScoreInport [name=ParentSubject]").formValidator({ validatorGroup: "STVideoScoreInport", rules: { required: null }, message: { required: "????????????" } }); //????????? $("#frmSTVideoScoreInport [name=FileName]").formValidator({ validatorGroup: "STVideoScoreInport", rules: { required: null }, message: { required: "????????????????" } }); function STVideoScoreInportClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.STVideoScoreInportClient", data: Global.GetFormValue($("#frmSTVideoScoreInport")), async: true, dataType: 'json', success: function (result) { $(send).val('????????'); alert("???????????" + result.Count + "?????????????????????????????????"); document.getElementById("frmDownload").src = result.DataUrl; Global.Disabled(send, false); //window.location.href = window.location.href; }, beforeSend: function () { $(send).val('?????...'); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val('????????'); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de