<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GetEmailIdsPopup.aspx.cs"
    MaintainScrollPositionOnPostback="true" Inherits="Organization_Settings_GetEmailIds" %>

<%@ Register Src="../UserControls/TA_uc_OrgLevelFilter_Updated.ascx" TagName="TA_uc_OrgLevel_Filter"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" runat="server" id="Org_htmlGetEmail">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>TimeCheck</title>
      <link id="stylebootstrap" rel="stylesheet" runat="server" type="text/css" />
    <link id="stylefontawesome" rel="stylesheet" runat="server" type="text/css" />
   <link id="styleAdminLTE" rel="stylesheet" runat="server" type="text/css" />
   <link id="stylecustom" rel="stylesheet" runat="server" type="text/css" />  
   <link id="stylefonts" rel="stylesheet" runat="server" type="text/css" />  
    <link id="styleselect2" rel="stylesheet" runat="server" type="text/css" />    
    <link id="styleGrid" rel="stylesheet" runat="server" type="text/css" />   
    <link id="styleAutocomp" rel="stylesheet" runat="server" type="text/css" />     

    <script language="javascript" src="../js/jquery-1.7.2.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript" src="../js/Popup.js"></script>

    <script language="javascript" type="text/javascript" src="../js/chkbox_delete.js"></script>

    <script language="javascript" src="../js/jquery.min.js" type="text/javascript"></script>

    <script language="javascript" src="../js/fancydropdown.js" type="text/javascript"></script>

    <script language="javascript" src="../js/jquery.min.js" type="text/javascript"></script>

    <script src="../plugins/jQuery/jQuery-2.1.4.min.js" type="text/javascript"></script>

    <script src="../plugins/select2/select2.full.min.js"></script>

    <link href="../css/ProgressBar.css" rel="stylesheet" type="text/css" />
</head>
<body oncontextmenu="return false" style="overflow: auto">
    <form id="aspnetForm" runat="server">
        <asp:ScriptManager ID="scleavesettings" runat="server">
        </asp:ScriptManager>
        <div class="content" style="overflow: auto">
            <div class="exda-table">
                <h6>
                    <asp:Label ID="Label1" runat="server" Visible="true"></asp:Label>
                    <span style="color: Red">|</span>
                    <asp:Label ID="lbl_IndicatesMandatoryFields" runat="server" Text="Mandatory"></asp:Label>
                    (1 No.)</h6>
            </div>
            <div class="emp-filter">
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-horizontal">
                            <div class="row form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lblEmployeeName" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txtEmployeeName" runat="server" CssClass="form-control"></asp:TextBox>
                                    <cc1:AutoCompleteExtender ID="acEmployeeName" runat="server" CompletionSetCount="10"
                                        CompletionListItemCssClass="item" CompletionListHighlightedItemCssClass="AutocompleteCSS"
                                        CompletionInterval="10" Enabled="true" MinimumPrefixLength="1" TargetControlID="txtEmployeeName"
                                        ServicePath="../WebServices/AutoCompleteExtender.asmx" ServiceMethod="GetEmployeeName"
                                        CompletionListCssClass="autocomplete_completionListElement" FirstRowSelected="true">
                                    </cc1:AutoCompleteExtender>
                                </div>
                                <div class="col-md-1">
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lblEmployeeCode" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txtEmployeeCode" runat="server" CssClass="form-control"></asp:TextBox>
                                    <cc1:AutoCompleteExtender ID="acEmployeeId" runat="server" CompletionSetCount="10"
                                        CompletionListCssClass="autocomplete_completionListElement" FirstRowSelected="true"
                                        CompletionInterval="10" Enabled="true" MinimumPrefixLength="1" TargetControlID="txtEmployeeCode"
                                        ServicePath="../WebServices/AutoCompleteExtender.asmx" ServiceMethod="GetEmployeeId"
                                        CompletionListItemCssClass="item" CompletionListHighlightedItemCssClass="AutocompleteCSS">
                                    </cc1:AutoCompleteExtender>
                                </div>
                            </div>
                            <asp:PlaceHolder ID="PlaceHolder1" runat="server">
                                <uc1:TA_uc_OrgLevel_Filter ID="TA_uc_OrgLevel_Filter1" runat="server" />
                            </asp:PlaceHolder>
                            <div class="row form-group">
                                <div class="col-md-5">
                                    <asp:Label ID="lblError" runat="server" Style="color: #ff0000" Visible="true"></asp:Label>
                                </div>
                                <div class="col-md-6">
                                    <div class="pull-right-button">
                                        <asp:LinkButton ID="btn_Go" CssClass="btn save-btn fa-angle-right" runat="server"
                                            CausesValidation="False" OnClick="btn_Go_Click" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-12">
                                    <div style="overflow: auto; padding-bottom: 15px">
                                        <asp:GridView ID="grv_Employee" Width="100%" Visible="false" runat="server" AllowPaging="True"
                                            CssClass="table das-table1" AutoGenerateColumns="False" PageSize="10" OnPageIndexChanging="grv_Employee_PageIndexChanging"
                                            OnRowDataBound="grv_Employee_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField>
                                                    <HeaderTemplate>
                                                        <asp:CheckBox ID="checkall" runat="server" AutoPostBack="true" OnCheckedChanged="grv_CheckAll_CheckedChanged" />
                                                    </HeaderTemplate>
                                                    <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="deletethis" runat="server" AutoPostBack="true" OnCheckedChanged="grv_Check_CheckedChanged"></asp:CheckBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Employee Id">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_EmpId" Text='<%# Eval("Employee_Code_Id")%>' runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Employee Name">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_EmpName" Text='<%# Eval("Employee Name")%>' runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Email Id">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_EmailId" Text='<%# Eval("EmailId")%>' runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <HeaderStyle CssClass="empheader" />
                                            <RowStyle Height="30px" CssClass="table-bg" BorderColor="#C5DFFC" />
                                            <PagerStyle Font-Overline="False" HorizontalAlign="Right" CssClass="GridPager" />
                                            <PagerSettings FirstPageText="<<" LastPageText=">>" Mode="NumericFirstLast" NextPageText=">"
                                                PreviousPageText="<" />
                                            <AlternatingRowStyle BackColor="white" />
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                            <div class="row form-group">
                                <div class="col-md-2">
                                </div>
                                <div class="col-md-9">
                                    <div class="pull-right-button">
                                        <asp:LinkButton ID="btn_Ok" CssClass="btn save-btn fa-check-circle-o" runat="server"
                                            CausesValidation="False" OnClick="btn_Ok_Click" />
                                        <asp:LinkButton ID="btn_Back" runat="server" CssClass="btn save-btn fa-angle-left"
                                            Visible="false" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
