<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_BaseFramework_Utilities_ImportOutwardRegister, App_Web_2ogbuyi5" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <input type="hidden" id="hdnSessionid" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="127"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box card-body" style="padding-bottom: 15px;">
                        <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-download"></i>
                                        <asp:Label ID="Label4" Text="Import Outward Register" runat="server" />
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="help-tableformat">
                            <div class="helppadding col-md-12 pTop5">
                                <div class="alert alert-info">
                                     <i class="material-icons pos-rel">info</i> |&nbsp;
                                    <asp:Label ID="lblMssg" Text="Notes : Text data to be Separated" runat="server" />
                                </div>
                            </div>
                        </div>
                        <div class="outerBox pTop5 col-md-3">
                            <div class="controlLabelWidth">
                                <asp:HyperLink ID="HyperLink1" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/OutRegister_Import_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5 col-md-3">
                            <div class="controlLabelWidth">
                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                    <i class="fa fa-arrow-down"></i>Browse</a>
                                <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                            </div>
                            <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                        </div>
                        <div class="outerBox pTop5 col-md-3">
                            <div class="controlLabelWidth">
                                <asp:Button ID="ImportOutwardRegister" runat="server" OnClick="ImportOutwardRegister_Click" Text="&#xf019; Import Outward Register" CssClass="btn btn-examcommon fas"
                                    SkinID="0" />
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="himssuHeader1WireBox col-md-12">
                            <div class="himsBoxHeader" id="ImportOutwardRegisterGridViewPagerDiv" runat="server" visible="true">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="gridHeaderText fLeft">
                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent">
                                <div id="Div5" runat="server" class="table-responsive">
                                    <asp:GridView runat="server" ID="ImportOutwardRegisterGridView" AutoGenerateColumns="False"
                                        EmptyDataText="No records available for the seacrh criteria!" 
                                        AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered table-hover">
                                        <Columns>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Letter Number">
                                                <ItemTemplate>
                                                    <asp:Label ID="LetterNumberLabel" runat="server" Text='<%# Eval("Letter Number") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Letter Subject">
                                                <ItemTemplate>
                                                    <asp:Label ID="LetterSubjectLabel" runat="server" Text='<%# Eval("Letter Subject") %>'
                                                        CssClass="boxEllips" Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Letter To">
                                                <ItemTemplate>
                                                    <asp:Label ID="LetterToLabel" runat="server" Text='<%# Eval("Letter To") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="15%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Letter Date">
                                                <ItemTemplate>
                                                    <asp:Label ID="LetterDateLabel" runat="server" Text='<%# Eval("Letter Date") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Reply Required">
                                                <ItemTemplate>
                                                    <asp:Label ID="ReplyRequiredLabel" runat="server" Text='<%# Eval("Reply Required") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Replied">
                                                <ItemTemplate>
                                                    <asp:Label ID="RepliedLabel" runat="server" Text='<%# Eval("Replied") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <PagerSettings Visible="true" />
                                    </asp:GridView>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
               
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
 <%--   <script data-main="../../../JavaScript/rjs/import-employee" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/import-employee")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
