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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ 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">
        <Triggers>
            <asp:PostBackTrigger ControlID="ExportButton" />
        </Triggers>
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="230"
                                    Visible="true" runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder col-md-12">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="PlacementLabel" runat="server" Text="Placement" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="PlacementDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="PlacementDropDownList_OnSelectedIndexChanged"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AttendedLabel" runat="server" Text="Attended"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchAttendedDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="SearchAttendedDropDownList_OnSelectedIndexChanged" onmouseenter="showHideTooltip()" class="form-control">
                                                    <asp:ListItem Value="-1">-All-</asp:ListItem>
                                                    <asp:ListItem Value="True">Attended</asp:ListItem>
                                                    <asp:ListItem Value="False">NotAttended</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchStatusDropdownList" runat="server" onmouseleave="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="SearchStatusDropdownList_OnSelectedIndexChanged" onmouseenter="showHideTooltip()" class="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="RegistrationDetailDiv" visible="false" runat="server">
                                       
                                            <div class="himsBoxHeader" id="RegistrationDiv" visible="true" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                </div>
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="pull-right col-md-3 display-flex">
                                                        <asp:DropDownList ID="ApplyDropDownList" runat="server" SkinID="CustomWidthDropDownList" AutoPostBack="true" OnSelectedIndexChanged="ApplyDropDownList_OnSelectedIndexChanged" class="form-control">
                                                        </asp:DropDownList>
                                                        &nbsp;&nbsp;&nbsp;&nbsp;
                                                        <asp:TextBox ID="ApplyTextBox" runat="server" Enabled="false" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;&nbsp;
                                                        <asp:Button ID="ApplyButton" runat="server" SkinID="0" CssClass="btn btn-apply fas" OnClick="ApplyButton_Click" Text="Apply All" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent pTop5">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div class="table-responsive">
                                                            <asp:GridView ID="RegistrationGridView" runat="server"  AutoGenerateColumns="False"
                                                                OnRowDataBound="RegistrationGridView_RowDataBound" EmptyDataText="No records found"
                                                                CssClass="table table-striped table-bordered table-hover" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                DataKeyNames="Id,AcademicId">
                                                                <Columns>
                                                                    <asp:BoundField DataField="Code" HeaderText="ID No" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="StudentName" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Class" HeaderText="Class" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Attended">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderCheckBox" runat="server" OnCheckedChanged="HeaderCheckBox_OnCheckedChanged" AutoPostBack="true" />
                                                                                <span></span>
                                                                                Attend 
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" runat="server" AutoPostBack="False" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Left" Width="10%" />
                                                                        <HeaderStyle HorizontalAlign="Left" Width="10%" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Status" meta:resourcekey="TemplateFieldResource8" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList ID="StatusDropdownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                class="form-control" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" Width="15%" />
                                                                        <ItemStyle HorizontalAlign="Left" Width="15%" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Offer/Package in Lakhs/Annum " meta:resourcekey="TemplateFieldResource8" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="OfferedPackageTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                                onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)" Width="90%" CssClass="boxEllips" Text='<%# Eval("OfferedPackage") %>' onmouseenter="showHideTooltip()">
                                                                            </asp:TextBox>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" Width="15%" />
                                                                        <ItemStyle HorizontalAlign="Left" Width="15%" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                            <div class="alignCenter col-md-12 pTop15 ">
                                                <asp:Button ID="ExportButton" runat="server" SkinID="0" CssClass="btn btn-examcommon fas" Text="&#xf093; Export" Enabled="false" OnClick="ExportButton_Click" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
              
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../JavaScript/rjs/encrypt/placement-registration-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/placement-registration")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>

