<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_CSExamScore, App_Web_ji5xl1kh" maintainscrollpositiononpostback="true" 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
             <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->                
                            <div class="dashBoardLeftCont" >
                                <div class="himssuHeader3WireBox">
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="111"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>  
                                </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-tasks"></i>
                                                    <asp:Label ID="Label1" runat="server" Text="CS Exam All Entry"></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="DepartmentLabel" runat="server"   Text="Department"></asp:Label></div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                            AutoPostBack="true" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <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"
                                                            class="form-control" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="DivisionLabel" Text="Division" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="ExamLabel" Text="Exam" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ExamDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ExamDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="StudentLabel" Text="Student" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="StudentDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="StudentDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                        <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="alignCenter pTop5">
                                                    <asp:Button ID="ExportToExcelButton" Text="&#xf093;  Export To Excel" runat="Server" SkinID="0"
                                                        OnClick="ExportToExcelButton_OnClick" Visible="false" CssClass="btn-upload btn fas"/>
                                                </div>
                                                <div id="Div1" class="himssuHeader6WireBox pTop5 col-md-12 mt2 pb5" runat="server" visible="true" >
                                                    <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                                        <div class="headerText">
                                                     <%--   <header>
                                                            <asp:Label ID="GridViewLabel" Text="Student Indicator Assign List"
                                                                    runat="server" />
                                                        </header>--%>
                                                            </div>
                                                        <div class="leftdiv"></div>

                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                            </div>
                                                       
                                                    </div>
                                                    <div id="Div2" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                        <div class="fRight display-flex">
                                                            <asp:DropDownList ID="ApplyDropDownList" runat="server" class="form-control"
                                                                SkinID="CustomWidthButton">
                                                            </asp:DropDownList>&nbsp;&nbsp;
                                                            <asp:TextBox ID="ApplyAllTextBox" runat="server" ClientIDMode="Static" MaxLength="100"
                                                                SkinID="CustomWidthTextBox" CssClass="pTop5" ></asp:TextBox>&nbsp;&nbsp;
                                                            <asp:Button ID="ApplyAllButton" runat="server"  OnClick="ApplyAllButton_click"
                                                                Text="&#xf067; Apply All" SkinID="0"  CssClass="btn-apply btn fas"/>
                                                              </div>
                                                        </div> </div>
                                                    </div>
                                                    <div class="himsBoxContent">
                                                        <%-- <div id="DivHeader" style="vertical-align: top; width: 100%;">
                        <asp:Table ID="GradeSetDetailTable" runat="server" CellPadding="0" CellSpacing="0"
                            BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow">
                        </asp:Table>
                    </div>  --%>
                                                        <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                                            visible="False">
                                                        </div>
                                                        <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 250px; width: 99.6%;">      --%>
                                                        <div class="table-responsive">
                                                        <asp:GridView ID="CSExamScoreGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!"
                                                            AllowPaging="false" ShowHeader="True"
                                                            DataKeyNames="Index,CMID" OnRowDataBound="CSExamScoreGridView_RowDataBound"
                                                            CssClass="table table-striped table-bordered">
                                                            <Columns>
                                                                <asp:BoundField DataField="Index" HeaderText="Index" Visible="false"></asp:BoundField>
                                                                <asp:BoundField DataField="CMID" HeaderText="CMID" Visible="false"></asp:BoundField>

                                                                <asp:BoundField DataField="CSGroupName" HeaderText="CSGroup" Visible="true" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Width="20%">
                                                                    <ItemStyle Width="20%" />
                                                                </asp:BoundField>
                                                                <%--<asp:BoundField DataField="CSName" HeaderText="CS" Visible="true" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Width="20%">
                                                                    <ItemStyle Width="20%" />
                                                                </asp:BoundField>--%>
                                                                <asp:TemplateField HeaderText="CS"  ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CSNameLabel" runat="server" Text='<%#Eval("CSName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="20%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                 <asp:TemplateField HeaderText="Mark"  ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MarkLabel" runat="server" Text='<%#Eval("ConvertToMark") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="8%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Grade"  ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList runat="server" ID="GradeSetDetailDropDownList" SkinID="CustomWidthDropDownList"
                                                                            Width="50px" class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            AutoPostBack="True"
                                                                            OnSelectedIndexChanged="GradeSetDetailDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="2%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Grade Indicator" ItemStyle-Width="7%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList runat="server" ID="GradeIndicatorDropDownList" SkinID="CustomWidthDropDownList"
                                                                            Width="150px" class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            AutoPostBack="True" Enabled="false"
                                                                            OnSelectedIndexChanged="GradeIndicatorDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="7%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">Indicator Code
                                                                             <asp:CheckBox ID="IndicatorsIdCheckBox" runat="server" OnCheckedChanged="IndicatorsIdCheckBox_CheckedChanged"
                                                                                AutoPostBack="True" TabIndex="8" meta:resourcekey="ReadAllCheckBoxResource1" />
                                                                                <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:TextBox runat="server" ID="IndicatorIdsTextBox" SkinID="CustomWidthTextBox" Text='<%# Bind("IndicatorIds") %>'
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="7%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Indicator" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox runat="server" ID="IndicatorTextBox" SkinID="CustomWidthTextBox" Text='<%# Bind("DescriptiveIndicator") %>'
                                                                             onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="45%" Wrap="True" />
                                                                </asp:TemplateField>


                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                            </div>
                                                    </div>
                                                </div>
                                            </div>
                                             </asp:Panel>
                                    </div>
                                   
                                </div>
                </div>
               
       
   <%--HEDP History Ends Here--%>
            </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--    <PS:PatientSearchUserControl ID="PatientSearch" runat="server" />  --%>
   <%-- <script data-main="../../../JavaScript/rjs/encrypt/csexam-score-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/csexam-score")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>