<%@ page language="VB" masterpagefile="~/Template/Master.master" validaterequest="false" autoeventwireup="false" inherits="HelpDesk_EditAnnouncement, MachSol.MachPanel.Web" %>

<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">
    <ajax:UpdatePanel ID="AP1" runat="server">
        <ContentTemplate>
            <div class="col-xs-12">
                <fieldset>
                    <legend>
                        <asp:Literal ID="Div2" runat="server"  EnableViewState="false" Text='<%$ Resources:Content,SM400007 %>'></asp:Literal>
                    </legend>
                    <table class="tblListing2">
                        <tr>
                            <td>
                                *
                                <asp:Literal ID="Div1" runat="server"  EnableViewState="false" Text='<%$ Resources:Content,GN0000607 %>'></asp:Literal>:
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:TextBox ID="TxBx_AnnouncementTitle" MaxLength="500" Width="50%" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td>
                                *
                                <asp:Literal ID="Div3" runat="server"  EnableViewState="false" Text='<%$ Resources:Content,GN0000608 %>'></asp:Literal>:
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="ExternalBorderStyles">
                                    <asp:TextBox ID="TxBx_Announcement" Width="100%" runat="server" TextMode="MultiLine"
                                        Rows="10" Height="100px"></asp:TextBox></div>
                                <%--<asp:TextBox ID="TxBx_Announcement" Rows=8 TextMode=MultiLine Width=85% runat="server"></asp:TextBox></td>--%>
                        </tr>
                        <tr>
                            <td>
                                *
                                <asp:Literal ID="Literal1" runat="server"  EnableViewState="false" Text='<%$ Resources:Content,GN0000609 %>'></asp:Literal>:
                                <div id="Div4" runat="server" innertext='<%$ Resources:Content,GN0000610 %>'>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:TextBox ID="TxBx_Expirationdate" runat="server" ></asp:TextBox>&nbsp;<a
                                    onclick="window.open('CalenderPopUp.aspx?textbox=ctl00_CPH_Content_TxBx_Expirationdate','cal','width=350,height=190,left=270,top=180')"
                                    href="javascript:;"><img height="16" alt="SC" src="../../App_Themes/Default/Images/SmallCalendar.png"
                                        width="16" align="middle" border="0"></a></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ChkBx_NeverExpire" Text='<%$ Resources:Content,GN0000611 %>' runat="server" />
                                
                                <div id="Div6" runat="server" innertext='<%$ Resources:Content,GN0000612 %>'>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="Btn_Add" CssClass="btnAction" runat="server" Text='<%$ Resources:Content,GN0000281 %>'
                                    SkinID="editButton" />
                                <asp:Button ID="Btn_Back" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000483 %>'
                                    SkinID="backButton" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </div>
            <%-- Validation Logic START--%>
            <asp:ValidationSummary ShowMessageBox="true" ShowSummary="false" ID="ValidationSummary1"
                HeaderText="<%$ Resources:Content,EM000001%>" runat="server" />
            <asp:RequiredFieldValidator Display="None" ID="RequiredFieldValidator1" ControlToValidate="TxBx_AnnouncementTitle"
                runat="server" ErrorMessage=''></asp:RequiredFieldValidator>
            <asp:RequiredFieldValidator Display="None" ID="RequiredFieldValidator2" ControlToValidate="TxBx_Announcement"
                runat="server" ErrorMessage=''></asp:RequiredFieldValidator>
            <%--Validation Logic END--%>
        </ContentTemplate>
    </ajax:UpdatePanel>
</asp:Content>
