<%@ page language="C#" autoeventwireup="true" inherits="Pages_Common_FileUpload_FileImport, App_Web_tl2a25ju" masterpagefile="~/Pages/Common/MasterPages/DialogMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ OutputCache Duration="1" VaryByParam="none" NoStore="true" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="TaxGroupMasterUpdatePanel" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:PostBackTrigger ControlID="btnUpload" />
            <asp:PostBackTrigger ControlID="UploadAudiometryBtn" />
            <asp:PostBackTrigger ControlID="UploadPulmonaryButton" />

        </Triggers>
        <ContentTemplate>

            <table>

                <tr>
                    <td style="width: 120px">
                        <div style="width: 180px">
                            <div class="controlLabelWidth" style="width: 180px">
                                <asp:Label ID="examinationtypeLabel8" runat="server" Text="Examination Type" SkinID="MandatoryLabel"></asp:Label>
                            </div>
                            <asp:DropDownList ID="ExaminationtypeDropDownList" runat="server"
                                Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                OnSelectedIndexChanged="ExaminationtypeDropDownList_SelectedIndexChanged" />
                        </div>
                    </td>
                    <td>
                        <div style="width: 180px">
                            <div class="controlLabelWidth" style="width: 180px">
                                <asp:Label ID="RoundLabel8" runat="server" Text="Round" SkinID="MandatoryLabel"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                <asp:DropDownList ID="RoundDropDownList" runat="server"
                                    Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" />
                            </div>
                        </div>
                    </td>
                    <td>
                        <div style="width: 180px">
                            <div class="controlLabelWidth" style="width: 180px">
                                <asp:Label ID="DoctorEmployeeId" runat="server" Text="Doctor Employee Id" SkinID="MandatoryLabel"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                <asp:DropDownList ID="DoctorEmployeeDropDownList" runat="server"
                                    Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" />
                            </div>
                        </div>
                    </td>
                </tr>
            </table>

            <div class="spacer">
                <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
            </div>

            <table>
                <tr>
                    <td style="width: 120px">
                        <asp:FileUpload ID="upUserCtrl" runat="server" />
                    </td>
                    <td style="width: 120px">
                        <asp:Button ID="btnUpload" SkinID="CustomWidthButton" runat="server" Text="Upload Examination" Width="120px"
                            OnClick="UploadButton_Click" /></td>

                    <td style="width: 120px">
                        <asp:Button ID="UploadAudiometryBtn" runat="server" SkinID="CustomWidthButton" Text="Upload Audiometry" Width="120px"
                            OnClick="UploadAudiometryButton_Click" /></td>

                    <td style="width: 120px">
                        <asp:Button ID="UploadPulmonaryButton" runat="server" SkinID="CustomWidthButton" Text="Upload Pulmonary" Width="120px"
                            OnClick="UploadPulmonaryButton_Click" /></td>


                    <td style="width: 60px">
                        <asp:Button ID="DeleteButton" runat="server" Text="Delete"
                            OnClick="DeleteButton_Click" /></td>


                </tr>


            </table>

            <div class="spacer" style="width: 2px">
                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
            </div>

            <table>
                <tr>
                    <td>
                        <div class="pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="RemarkLabel3" runat="server" Text="Remark"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="RemarkTextBox1" runat="server" TextMode="MultiLine"
                                    Width="250px" SkinID="CustomWidthDropDownList" Height="40px" />
                            </div>
                        </div>
                    </td>


                </tr>


                <tr>
                    <td style="width: 200px">
                        <div class="pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label1" runat="server" Text="Employee Code Already Exists"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="EmployeeAlreadyExistCodeTextBox" runat="server"
                                    Width="250px" SkinID="CustomWidthDropDownList" Height="100px" />
                            </div>
                        </div>
                    </td>
                    <td style="width: 250px">
                        <div class="pTop5" style="width: 250px">
                            <div class="controlLabelWidth" style="width: 250px">
                                <asp:Label ID="Label2" runat="server" Text="Employee Code Not Found"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="EmployeeCodeNotFoundTextBox" runat="server"
                                    Width="250px" SkinID="CustomWidthDropDownList" Height="100px" />
                            </div>
                        </div>
                    </td>
                </tr>
                <%--<div class="spacer">
                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                </div>--%>
            </table>
            <%--          <td colspan="4">--%>
            <%--  <div class="himssuHeader2WireBox">--%>
            <div class="himssuHeader1WireBox pTop10" id="HREmployeeMasterGridDiv" runat="server" style="width: 70%; margin-right: 5px;">
                <%--    <div class="spacer">
                                    <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                </div>--%>
                <div class="himsBoxHeader">
                    <div class="leftdiv">
                    </div>
                    <div class="himsBoxTitle" style="width: 70%">
                        <div class="headerText">
                            <div class="fLeft">
                                <asp:Label ID="GridViewLabel" Text="List" runat="server"
                                    meta:resourcekey="GridViewLabelResource1" />
                            </div>
                        </div>
                        <div align="right" class="fRight" style="margin-top: -3px;">
                            <uc1:GridViewPager ID="ImportFileGridViewPager" runat="server" Visible="false" />
                        </div>
                    </div>
                </div>

                <div class="himsBoxContent">
                    <%--   <div id="ImportFileGridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                            visible="False">
                                        </div>--%>
                    <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 215px; width: 99.6%;">--%>
                    <asp:GridView runat="server" ID="ImportFileGridView" Width="100%" AutoGenerateColumns="False"
                        EmptyDataText="No records available for the seacrh criteria!"
                        AllowPaging="false" DataKeyNames="ImportId,ImportTypeId">
                        <PagerSettings Visible="False" />
                        <PagerTemplate>
                            <div class="gridHeader">
                                <div class="gridHeaderText fLeft">
                                </div>
                                <div class="fRight">
                                </div>
                            </div>
                        </PagerTemplate>
                        <Columns>
                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                <HeaderTemplate>
                                    <itemstyle horizontalalign="Center" />
                                    <itemtemplate>
                                                     <asp:CheckBox ID="ImportHeaderSelectCheckBox"  OnCheckedChanged = "ImportHeaderSelectCheckBox_OnCheckedChanged"  
                                                     runat="server"  AutoPostBack="True"/>
                                                   </itemtemplate>
                                </HeaderTemplate>
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:CheckBox ID="ImportSelectCheckBox" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="ImportId" HeaderText="Import Id" />
                            <asp:BoundField DataField="importtype" HeaderText="Import Type" />
                            <asp:BoundField DataField="ImportRemark" HeaderText="Remark" />
                        </Columns>
                        <PagerSettings Visible="False" />
                    </asp:GridView>
                    <%--     </div>--%>
                </div>
            </div>
            <%-- <div class="spacer">
                    <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                </div> --%>
            <%--   </div>--%>
            <%--  </td>--%>
        </ContentTemplate>
    </asp:UpdatePanel>
 <%--   <script data-main="../../../JavaScript/rjs/encrypt/dialog-general-encrypt" src="../../../JavaScript/rjs/require.js"></script>  --%>  
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/dialog-general")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>