<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Pdfedit.aspx.cs" Inherits="Mvcb2b.admin.Pdfedit" Title="用户修改" ValidateRequest="false" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<%@ Register src="controls/Uponenopostpic.ascx" tagname="Uponenopostpic" tagprefix="uc1" %>
<%--@ Register src="controls/news/Eachqiselect.ascx" tagname="Eachqiselect" tagprefix="uc3" --%>
<%--@ Register src="controls/Pageclass.ascx" tagname="Pageclass" tagprefix="uc4" --%>
<%@ Register src="controls/Date_Qi.ascx" tagname="Date_Qi" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <%string picid = pdfpath_txt.FindControl("picurl_txt").ClientID;  %>
<script type="text/javascript">
    function checkform() {
        if (typeof (Page_ClientValidate) == 'function') {
            if (Page_ClientValidate())    //(Page_ClientValidate())
            {
                if (document.getElementById("qi_sel").value == "" || document.getElementById("qi_sel").value == null) {
                    alert("刊期不能为空！");
                    return false;
                }
                if (document.getElementById("<%=picid%>").value == "" || document.getElementById("<%=picid%>").value == null) {
                    alert("图片不能为空！");
                    return false;
                }       
            }
        }
    }
</script>
<div class="path">当前位置： PDF数据导出 >>  PDF任务修改</div>
<h3><asp:Literal  ID="Literal1" runat="server"></asp:Literal></h3>
<table width="92%" border="0" class="editor" align="center" style="background-color:#f5f5f5;" cellpadding="3" cellspacing="1">    
 
<tr><td width="120" align="right">选择刊期：</td><td><uc1:Date_Qi ID="Date_Qi1" runat="server" /> <span style="color:#ccc;">&nbsp; *为必填</span> </td></tr>   
<tr><td align="right"><span style="color: Red">*</span>PDF名称：</td><td><asp:TextBox ID="pname_txt" runat="server" Text="" Width="120px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="PDF名称不能为空" Display="None" ControlToValidate="pname_txt"></asp:RequiredFieldValidator> <span style="color:#ccc;">&nbsp;只能为英文名，如：a1</span></td></tr>
<tr><td align="right">PDF上传：</td><td class="uprelative"><uc1:Uponenopostpic ID="pdfpath_txt"  runat="server" /></td></tr>
<tr><td align="right">是否已处理：</td><td><asp:Literal  ID="isextract_txt" runat="server"></asp:Literal></td></tr>

<tr><td colspan="2" align="center"><asp:HiddenField ID="action_txt" runat="server" />
<asp:HiddenField ID="id_txt" runat="server" />
<asp:HiddenField ID="fromrefer" runat="server" />
    <asp:Button ID="Add" runat="server" Text="修改" Width="58px"   onclick="Edit_Click" /> &nbsp;<asp:validationsummary id="ValidationSummary1"  runat="server" ShowMessageBox="True" ShowSummary="False"  ></asp:validationsummary> <input type="button" value="返回" name="go" style="width:58px;" onclick="javascript:history.go(-1);"  /></td></tr>
</table>

<p style="text-align:left;padding-left:80px;font-size:12px;line-height:20px;">? 帮助：<br />
1 .目前仅支持单页PDF预处理.<br />
2 .不支持加密PDF预处理.<br />
3 .此处上传PDF仅供内部导出数据预处理专用,对外公开PDF请另外加密处理.<br />
4 .免费版不支持图片提取预处理,其他版本无此限制.<br />
</p>
</asp:Content>
