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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>

            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="215"
                                            Visible="true" runat="server" />
                                    </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">
                                    <header>
                                        <i class="fas fa-retweet"></i>
                                        <asp:Label ID="Label1" runat="server" Text="CCE Result Generate"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ClassLabel" Text="Class" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DivisionLabel" Text="Division" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                onmouseenter="showHideTooltip()" OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" style="display: none;">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ExamLabel" Text="CCE Exam" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="cceExamDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="cceExamDropDownList_SelectedIndexChanged"
                                                onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" style="display: none;">
                                        <div class="controlLabelWidth">
                                            &nbsp;
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:Button ID="DeleteResultButton" runat="server" SkinID="0" CssClass="btn btn-delete fas"
                                                Text="&#xf2ed; Delete Result" OnClick="DeleteResultButton_Click" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5">
                                        <div class="fLeft pRight5">
                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                        </div>
                                    </div>

                                    <div id="Div1" class="himssuHeader6WireBox pTop5 col-md-12" runat="server" visible="true">
                                        <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                            <div class="leftdiv"></div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="GridViewLabel" Text="CCE Exam Detail"
                                                            runat="server" />
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <div id="GridViewMessageDiv" runat="server" visible="False"></div>
                                            <asp:GridView ID="CCEResultGenerateGridView" runat="server" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!"
                                                AllowPaging="false" ShowHeader="true"
                                                DataKeyNames="CCEExamId,ClassId,ExamStatusId,DivisionId" OnRowDataBound="CCEResultGenerateGridView_RowDataBound"
                                                CssClass="table table-striped table-bordered table-hover">
                                                <Columns>
                                                    <asp:BoundField DataField="CCEExamId" HeaderText="CCEExamId" Visible="false"></asp:BoundField>
                                                    <asp:BoundField DataField="ClassId" HeaderText="ClassId" Visible="false"></asp:BoundField>
                                                    <asp:BoundField DataField="ClassName" HeaderText="ClassName" />
                                                    <asp:TemplateField HeaderText="CCEExamName" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="CCEExamNameLabel" runat="server" Width="130px" Text='<%# Bind("ExamName") %>'>' </asp:Label>
                                                        </ItemTemplate>
                                                        <ItemStyle Width="10%" Wrap="True" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Status" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="StudentNameLabel" runat="server" Text='<%# Bind("Status") %>'>' </asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="25%">
                                                        <HeaderTemplate>
                                                            <itemstyle horizontalalign="Left" />
                                                            <asp:Label ID="HeaderLable" Text="Generate" runat="server" AutoPostBack="True" />
                                                        </HeaderTemplate>
                                                        <ItemTemplate>
                                                            <asp:Button ID="GenerateButton" runat="server" SkinID="CustomWidthButton" Width="100px"
                                                                Text="Generate" OnClick="GenerateButton_Click" Visible="false" />

                                                            <asp:Button ID="GenerateButton1" runat="server" SkinID="CustomWidthButton" Width="100px"
                                                                Text="Generate" OnClick="GenerateButton1_Click" />
                                                        </ItemTemplate>
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                        <ItemStyle Width="20%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Delete Result">

                                                        <ItemTemplate>
                                                            <asp:Button ID="DelResultButton" runat="server" SkinID="CustomWidthButton"
                                                                Width="130px" AutoPostBack="true"
                                                                Text="Delete Result" OnClick="DelResultButton_Click" />
                                                        </ItemTemplate>
                                                        <HeaderStyle HorizontalAlign="Left" />
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../../JavaScript/rjs/encrypt/cceexam-setting-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
     <script data-main='<%=ResolveUrl("~/JavaScript/rjs/cceexam-setting")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
