<%@ page title="" language="C#" masterpagefile="~/Admin/AdminIndexMaster.master" autoeventwireup="true" inherits="Admin_MBF_UserGiftCardCategoryEdit, WebApp_deploy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPHead" Runat="Server">
    <script src="Js/Jquery/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        function rmvalue() {
            $("input[type=file]").val("");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="nick">
        <tr>
            <td class="tit" colspan="2">
                <asp:HiddenField ID="h_id" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="ltd">
                节日名：
            </td>
            <td class="rtd">
                <asp:DropDownList ID="ddl_FestivalName" runat="server">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="rfv1" runat="server" ErrorMessage="*" ControlToValidate="ddl_FestivalName"
                    Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="ltd">
                标题：
            </td>
            <td class="rtd">
                <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox><asp:RequiredFieldValidator
                    ID="rfv2" runat="server" ErrorMessage="*" ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="ltd">
                <asp:HiddenField ID="h_Pictrue" runat="server" />
                图片：
            </td>
            <td class="rtd">
                <asp:Image ID="Image_Pictrue" runat="server" Height="91px" Width="158px" /><br />
                <asp:FileUpload ID="FileUpload_Pictrue" runat="server" />
                <asp:Button ID="ButtonRemovefile" runat="server" Text="清除值" 
                     OnClientClick="rmvalue();" />
                <span style="color:Red;"><asp:Literal ID="ltr_Pictrue" runat="server"></asp:Literal></span> 
            </td>
        </tr>
        <tr>
            <th class="normal left1" colspan="2">
            </th>
        </tr>
        <tr>
            <td class="ltd">
                <asp:Button ID="Add" Text="保 存" CausesValidation="true" runat="server" OnClick="Add_Click" />
            </td>
            <td class="rtd">
                <asp:Button ID="ButtonReturn" runat="server" Text="返回" CausesValidation="false" OnClick="ButtonReturn_Click" />
            </td>
        </tr>
    </table>

</asp:Content>

