<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Announcement.aspx.cs" Inherits="Maintenance_Others_Announcement" Title="Maintenance_Others_Announcement" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script language="javascript" type="text/javascript" src="/SEST/Script/OpenSubPage.js">
        // open sub page
    </script>
<center>
    <table id="TABLE1" cellpadding="0" cellspacing="0" style="border-right: #3399ff 3px solid;
        border-top: #3399ff 3px solid; border-left: #3399ff 3px solid; border-bottom: #3399ff 3px solid;
        background-color: lightgoldenrodyellow">
        <tr>
            <td class="titleRow" colspan="2">
                <asp:Label ID="lblTitle" runat="server" Text="<%$ Resources: Universal, Msg_Title_Announcement %>"></asp:Label></td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label1" runat="server" Text="<%$ Resources: Universal, Msg_Writer %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:TextBox ID="txtWriter" runat="server" Width="388px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="Server" ControlToValidate="txtWriter"
                    ErrorMessage="<%$ Resources: Universal, Msg_Remind_Writer %>" ValidationGroup="ValidationControls">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label8" runat="server" Text="<%$ Resources: Universal, Comm_PostFrom %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:DropDownList ID="ddlPostFrom" runat="server" Width="393px" DataSourceID="ObjectDataSource2"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label5" runat="server" Text="<%$ Resources: Universal, Comm_StartDate %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:TextBox ID="txtStartDate" runat="server" Width="388px"></asp:TextBox>
                <asp:HyperLink ID="hlStartDate" runat="Server" ImageUrl="~\imanges\more.gif" Target="_blank"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label4" runat="server" Text="<%$ Resources: Universal, Comm_EndDate %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:TextBox ID="txtEndDate" runat="server" Width="388px"></asp:TextBox>
                <asp:HyperLink ID="hlEndDate" runat="Server" ImageUrl="~\imanges\more.gif" Target="_blank"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label7" runat="server" Text="<%$ Resources: Universal, Comm_Importance %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:DropDownList ID="ddlImportance" runat="server" Width="393px">
                    <asp:ListItem Value="3" Text="Hight"></asp:ListItem>
                    <asp:ListItem Value="2" Text="Middle" Selected="true"></asp:ListItem>
                    <asp:ListItem Value="1" Text="Low"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label3" runat="server" Text="<%$ Resources: Universal, Comm_Subject %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:TextBox ID="txtSubject" runat="server" Rows="2" TextMode="MultiLine"
                    Width="388px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label2" runat="server" Text="<%$ Resources: Universal, Comm_Contents %>"></asp:Label></td>
            <td align="left" class="whiteEdge" style="width: 429px">
                <asp:TextBox ID="txtContents" runat="server" Rows="7" TextMode="MultiLine"
                    Width="388px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="whiteEdge" style="width: 86px">
                <asp:Label ID="Label6" runat="server" Text="<%$ Resources: Universal, Msg_AttachFile %>"></asp:Label><br />
            </td>
            <td id="tdMyFiles" align="left" class="whiteEdge" style="width: 429px" runat="Server">
                <asp:FileUpload ID="FileSaveToServer" runat="Server" Width="393px" /></td>
        </tr>
        <tr>
            <td align="center" class="bottomRow" colspan="2">
                <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="<%$ Resources: Universal, Data_Submit %>"
                    ValidationGroup="ValidationControls" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" OnLoad="btnReset_Click"
                    Text="<%$ Resources: Universal, Data_Reset %>" />
            </td>
        </tr>
    </table>
    
    
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" TypeName="Common_AnnouncementPostFromValueData" SelectMethod="Select">
    </asp:ObjectDataSource>
</center>    
</asp:Content>

