<%@ page language="C#" autoeventwireup="true" inherits="Pages_BaseFramework_Utilities_UploadCandidatePhoto, App_Web_5gjsljb5" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" 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="UploadEmployeePhotoUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div id="Td1" class="dashBoardLeftCont" valign="top" runat="server">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="229"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText" id="codeHeader">
                                    <header>
                                        <asp:Label ID="SearchHeaderLabel" runat="server" Text=" Upload Candidate Photo"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder col-md-12">
                                <div class=" alert alert-info col-md-12">
                                    <asp:Label ID="Note1" runat="server" Text="* Upload 120*120 image for best quality"
                                        Font-Size="Small" ForeColor="Red"></asp:Label>
                                    <br />
                                    <asp:Label ID="Note2" runat="server" Font-Size="Small" ForeColor="Red" Text="* Give Candidate Code as photo file Name for Candidate Photos"></asp:Label>
                                    <br />
                                    <asp:Label ID="Note3" runat="server" Text="* Add Code with . Dot seperation (Eg. 2.5.10) OR , Comma seperation (Eg. 2,5,10)"
                                        Font-Size="Small" ForeColor="Red"></asp:Label>
                                    <br />
                                    <asp:Label ID="Note4" runat="server" Font-Size="Small" ForeColor="Red" Text="* Validate Photos Extension : .bmp, .jpeg, .jpg"></asp:Label>
                                </div>
                                <div class="cBoth">
                                </div>
                                <asp:RadioButtonList ID="UploadPhotoRadioButton" runat="server" AutoPostBack="true"
                                    RepeatDirection="Horizontal" OnSelectedIndexChanged="UploadPhotoRadioButton_SelectedIndexChanged"
                                    RepeatLayout="Table" CssClass="col-md-3 bg-lghtgrey radiobtn">
                                    <asp:ListItem Text="Candidate Photo" Value="Photo" Selected="True"></asp:ListItem>
                                </asp:RadioButtonList>
                                <br />
                                <br />
                                <br />
                                <div class="cBoth">
                                </div>
                                <div class ="col-md-3">
                                <asp:Label ID="RemovePhotoLabel" runat="server" Text="Enter Code for Remove : "></asp:Label>
                                <asp:TextBox ID="RemovePhotoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="9"
                                    meta:resourcekey="FirstNameTextBoxResource1">
                                </asp:TextBox>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div class="alignCenter pTop5">
                                    <asp:Button ID="AddPhotoButton" Text="&#xf067; Add Photo" runat="Server" OnClick="AddPhotoButton_Click" SkinID="0" CssClass="btn btn-add fas" />
                                    <asp:Button ID="RefreshButton" runat="server" Text="&#xf2f9; Refresh" OnClick="RefreshButton_Click" SkinID="0" CssClass="btn btn-refresh fas" />
                                    <asp:Button ID="UploadButton" runat="server" Text="&#xf093; Upload" OnClick="UploadButton_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                    <asp:Button ID="RemoveButton" runat="server" Text="&#xf2ed; Remove Photo" OnClick="RemoveButton_Click" SkinID="0" CssClass="btn btn-delete fas" />
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="UploadEmployeePhotoGridDiv" runat="server" visible="false">
                                    <div class="himssuHeader6WireBox col-md-12 ">
                                        <div class="himsBoxHeader" id="EmployeeDiv" visible="false" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <div class="fLeft">
                                                        <header>
                                                            <asp:Label ID="GridViewLabel" Text="Candidate Photo List" runat="server" Font-Bold="true" />
                                                        </header>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent card-body">
                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="Div5" runat="server" class="table-responsive">
                                                        <asp:GridView ID="UploadEmployeePhotoGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            SkinID="" ShowHeader="True" PagerSettings-Visible="false" DataKeyNames="" EmptyDataText="No records found"
                                                            CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:BoundField DataField="FileName" HeaderText="Code" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Width="10%" />
                                                                <asp:TemplateField HeaderText="Photo" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Center"
                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Image ID="EmployeePhoto" Height="60px" Width="60px" runat="server" ImageUrl='<%# Eval("FilePath")%>' />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
   <%-- <script data-main="../../../JavaScript/rjs/encrypt/assignment-view-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assignment-view")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
