<%@ Page Title="模板标签编辑" ValidateRequest="false" StylesheetTheme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="TemplateLabelEdit.aspx.cs" Inherits="Web.Admin.Contents.TemplateLabelEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form1" runat="server">
        <div id="Step1" runat="server">
            <!--step 1-->
            <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="txtLabelName" runat="server" CssClass="text form-validate"></asp:TextBox>
                                <asp:CustomValidator ControlToValidate="txtLabelName" 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="ddlLabelDataCategory" runat="server">
                                    <asp:ListItem Value="text" Selected="True">纯文本</asp:ListItem>
                                    <asp:ListItem Value="xslt">xslt</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td class="fielddescription">&nbsp;</td>
                        </tr>
                        <tr>
                            <td class="fieldname">备注:</td>
                            <td class="fieldvalue">
                                <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Rows="3" Columns="30"></asp:TextBox>
                                &nbsp;</td>
                            <td class="fielddescription">可选</td>
                        </tr>
                        <tr>
                            <td class="fieldname">&nbsp;</td>
                            <td class="fieldvalue">
                                <asp:Button ID="btnLabelNextStep" runat="server" Text="下一步" CssClass="btn btngreen" OnClick="btnLabelNextStep_Click" />
                                &nbsp;&nbsp;
                                 <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="btn btnred" OnClick="btnCancel_Click" CausesValidation="false" />
                            </td>
                            <td class="fielddescription">&nbsp;</td>
                        </tr>
                    </table>
                </div>
                <br />
            </div>
        </div>
        <br />
    </form>
</asp:Content>
