<%@ Page Title="文章类别编辑" StylesheetTheme="AdminSkin" ValidateRequest="false" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="ArticleCategoryEdit.aspx.cs" Inherits="Web.Admin.Contents.ArticleCategoryEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form1" runat="server">
        <div class="formtextfield">
            <div class="title">
                <h4><span>文章类别编辑</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">标题:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtName" runat="server" Width="260" CssClass="text form-validate"></asp:TextBox>
                            <asp:CustomValidator ControlToValidate="txtName" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">类别:
                        </td>
                        <td class="fieldvalue">
                            <asp:DropDownList ID="ddlParentCategory" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">顺序:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtSequence" runat="server" Width="50" TextMode="SingleLine" Text="0"></asp:TextBox>
                            <asp:CustomValidator ControlToValidate="txtSequence" ClientValidationFunction="Validator.Digit" ErrorMessage="请填写数字" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">SEO:
                        </td>
                        <td class="fieldvalue">
                            <table>
                                <tr>
                                    <td>Title:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSEOTitle" MaxLength="25" runat="server" Width="366px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Keyword:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSEOKeyword" MaxLength="25" runat="server" Width="366px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Description:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSEODescription" MaxLength="500" runat="server" Height="40px"
                                            TextMode="MultiLine" Width="366px"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">状态:
                        </td>
                        <td class="fieldvalue">
                            <asp:CheckBox ID="ckbStatus" runat="server" Text="隐藏" />
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                </table>
            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" SkinID="ButtonSave" />
                        &nbsp;&nbsp;
                       <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
