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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="GeneralExamSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <%--<div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>--%>
                                    <table width="0px" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="105"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                            <%--<td class="dashBoardLeftCont" style="width: 160px" valign="top">--%>
                            <%--     padding-top: 7px"--%>
                            <%--<div id="leftContainer">--%>
                            <!-- Left Container 1 Box Start -->
                            <%--<dl class="expandMenu">
                                        <table width="100%" border="0">
                                            <tr>
                                                <td>--%>
                            <%--   <div>
                                                        <POP:PopupAlertControl ID="PopupAlertPeriodicControlBox" runat="server" Visible="false" />
                                                    </div>--%>
                            <%--<div class="himssuHeader3WireBox">
                                                        <dt id="dtSETTINGS" onclick="showHideSwitch('ddSETTINGS')">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxHeader">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <table width="100%">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <div class="headerText">
                                                                                                Master </div>
                                                                                        </td>
                                                                                        <td>
                                                                                            <img name="ddSETTINGSButton" id="ddSETTINGSButton" src="../../../Images/buttonCollapse.gif"></img>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </dt>--%>
                            <%-- <dd style="text-align: left; margin: 0px" class="hideSwitch" id="ddSETTINGS">--%>
                            <%--<dd style="text-align: left; margin: 0px" id="ddSETTINGS">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxContent leftTableContainer">
                                                                            <div class="leftUlMenu">
                                                                                <ul id="sidebarmenu1">
                                                                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="129"
                                                                                        Visible="true" runat="server" />
                                                                                </ul>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <div class="himsBoxFooter">
                                                                <div>
                                                                </div>
                                                            </div>
                                                        </dd>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </dl>
                                </div>
                            </td>
                            <td class="minMaxButton" style="width: 1%; margin: 0; vertical-align: top">
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                            </td>--%>
                            <td style="vertical-align: top" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger" id="Div6" runat="server" visible="True">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText fLeft">
                                                <asp:Label ID="Label2" Text="Maintainance" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="Panel3" runat="Server">
                                            <div class="contentHolder">
                                                <div class="tableContainer">
                                                    <cc1:TabContainer Width="100%" ID="GeneralExamCustomSearchTabContainer" runat="server"
                                                        CssClass="ajax__myTab" AutoPostBack="true" meta:resourcekey="GeneralExamCustomSearchTabContainerResource1"
                                                        ActiveTabIndex="0" OnActiveTabChanged="GeneralExamCustomSearchTabContainer_OnActiveTabChanged">
                                                        <cc1:TabPanel Width="100%" ID="GeneralExamCustomSearch" runat="server" HeaderText="General Exam Custom Search">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li><a style="padding: 10px 15px !important;">General Exam Custom Search </a></li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <div class="himssuHeader1WireBox">
                                                                        <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                                            <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label></div>
                                                                                    
                                                                                        <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            AutoPostBack="True" onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()"
                                                                                            OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                    
                                                                                </div>

                                                                            <div class="contentHolder">
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ClassIdLabel" runat="server" Text="Class"></asp:Label>
                                                                                    </div>
                                                                                   
                                                                                        <asp:DropDownList runat="server" ID="ClassIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            AutoPostBack="True" onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()"
                                                                                            OnSelectedIndexChanged="ClassIdDropDownList_SelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                 
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="DivisionIdLabel" runat="server" Text="Division"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList runat="server" ID="DivisionIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                               
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ExamSubGroupLabel" runat="server" Text="Exam"></asp:Label>
                                                                                    </div>
                                                                                    <asp:DropDownList ID="ExamSubGroupDropDownList" runat="server" Width="154px" SkinID="CustomWidthDropDownList"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" 
                                                                                        onselectedindexchanged="ExamSubGroupDropDownList_SelectedIndexChanged" AutoPostBack="true" />
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="CodeSearchLabel" runat="server" Text="ID No" meta:resourcekey="CodeSearchLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="CodeSearchTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                                            SkinID="CustomWidthTextBox" Width="150px" onmouseenter="showHideTooltip()" meta:resourcekey="CodeSearchTextBoxResource1"
                                                                                            MaxLength="20"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FirstNameSearchLabel" runat="server" Text="First Name" meta:resourcekey="FirstNameSearchLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FirstNameSearchTextBox" SkinID="CustomWidthTextBox" Width="150px"
                                                                                            runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="FirstNameSearchTextBoxResource1" MaxLength="50"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="LastNameLabel" runat="server" Text="Last Name"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="LastNameSearchTextBox" SkinID="CustomWidthTextBox" Width="150px"
                                                                                            runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="LastNameSearchTextBoxResource1" MaxLength="50"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                 <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="SearchStatusLabel1" runat="server" Text="Status"></asp:Label>
                                                                                    </div>
                                                                                    <asp:DropDownList ID="SearchStatusDropDownList" runat="server" Width="154px" SkinID="CustomWidthDropDownList"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromMarksLabel" runat="server" Text="From Marks"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FromMarksTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToMarksLabel" runat="server" Text="To Marks"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="ToMarksTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromGradePointLabel" runat="server" Text="From Grade Point"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FromGradePointTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToGradePointLabel" runat="server" Text="To Grade Point"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="ToGradePointTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromRankNumberLabel" runat="server" Text="From Rank Number"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FromRankNumberTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToRankNumberLabel" runat="server" Text="To Rank Number"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="ToRankNumberTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromPercentageLabel" runat="server" Text="From Percentage"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FromPercentageTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToPercentageLabel" runat="server" Text="To Percentage"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="ToPercentageTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromPercentileLabel" runat="server" Text="From Percentile"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FromPercentileTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToPercentileLabel" runat="server" Text="To Percentile"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="ToPercentileTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="GradeLabel" runat="server" Text="Grade"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="GradeTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="ClassCheckBox" runat="server" AutoPostBack="True" 
                                                                                            OnCheckedChanged="ClassCheckBox_OnCheckedChanged" />
                                                                                        <asp:Label ID="ClassDivisionLabel" runat="server" Text="Class" class="pLeft5"></asp:Label>
                                                                                    </div>
                                                                                    <div id="ClassDivisionDiv" runat="server" visible="False" class="fLeft pRight5" 
                                                                                        style="overflow: auto;
                                                                                        height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                        <asp:CheckBoxList ID="ClassDivisionCheckBoxList" runat="server"
                                                                                            AutoPostBack="True" 
                                                                                            OnSelectedIndexChanged="ClassDivisionCheckBoxList_OnSelectedIndexChanged">
                                                                                        </asp:CheckBoxList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="ExamCheckBox" runat="server" AutoPostBack="True" 
                                                                                            OnCheckedChanged="ExamCheckBox_OnCheckedChanged" />
                                                                                        <asp:Label ID="ExamLabel" runat="server" Text="Exam" class="pLeft5"></asp:Label>
                                                                                    </div>
                                                                                    <div id="ExamDiv" runat="server" visible="False" class="fLeft pRight5" 
                                                                                        style="overflow: auto;
                                                                                        height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                        <asp:CheckBoxList ID="ExamCheckBoxList" runat="server">
                                                                                        </asp:CheckBoxList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="SaveReportCheckBox" runat="server" AutoPostBack="True" 
                                                                                            OnCheckedChanged="SaveReportCheckBox_OnCheckedChanged" />
                                                                                        <asp:Label ID="SaveReportLabel" runat="server" Text="Save Report" class="pLeft5"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div id="SaveReportDiv" runat="server" visible="False" class="fLeft pRight5">
                                                                                    <div class="outerBox11 pTop5">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="TitleLabel" runat="server" Text="Report Name" meta:resourcekey="TitleLabelResource1"></asp:Label>
                                                                                        </div>
                                                                                        <div class="fLeft pRight5">
                                                                                            <asp:TextBox ID="TitleTextBox" SkinID="CustomWidthTextBox" Width="150px" runat="server"
                                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource1"
                                                                                                MaxLength="50"></asp:TextBox>
                                                                                        </div>
                                                                                    </div>
                                                                                    <div class="outerBox11 pTop5">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:CheckBox ID="IsCommonCheckBox" runat="server" />
                                                                                            <asp:Label ID="IsCommonLabel" runat="server" Text="IsCommon" class="pLeft5"></asp:Label>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                        <cc1:TabPanel Width="100%" ID="CustomField" ClientIDMode="Static" runat="server"
                                                            HeaderText="Custom Field">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li><a style="padding: 10px 15px !important;">Custom Field </a></li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <div class="himssuHeader1WireBox">
                                                                        <%-- <div class="himsBoxContent" style="border-top: 1px solid #49A6A5 !important;">--%>
                                                                        <div class="contentHolder " style="height: 400px">
                                                                            <table>
                                                                                <tr>
                                                                                    <td style="padding-left: 10px">
                                                                                        <asp:Label ID="CFAvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="CFAvailableFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="CFSelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="CFSelectedFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td rowspan="2" style="padding-left: 10px">
                                                                                        <asp:ListBox ID="CFAvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                            runat="server" SelectionMode="Multiple" Height="350px" Width="150px" TabIndex="1"
                                                                                            meta:resourcekey="CFAvailableFieldListBoxResource1"></asp:ListBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;<asp:LinkButton ID="CFAddButton" runat="server" meta:resourcekey="CFAddButtonResource1"
                                                                                            OnClick="CFAddButton_OnClick">
                                                                                        <i class="fa fa-toggle-right fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="CFRemoveButton" runat="server" meta:resourcekey="CFRemoveButtonResource1"
                                                                                            OnClick="CFRemoveButton_OnClick">
                                                                                            <i class="fa fa-toggle-left fa-2x" style="color:black"> </i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                    <td rowspan="2">
                                                                                        <asp:ListBox ID="CFSelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                                            Height="350px" Width="150px" TabIndex="2" meta:resourcekey="CFSelectedFieldListBoxResource1">
                                                                                        </asp:ListBox>
                                                                                        <asp:HiddenField runat="server" ID="CFSelectedColumnNameHiddenField" />
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;<asp:LinkButton ID="CFUpButton" runat="server" meta:resourcekey="CFAddButtonResource1"
                                                                                            OnClick="CFUpButton_OnClick">
                                                                                        <i class="fa fa-toggle-up fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="CFDownButton" runat="server" meta:resourcekey="CFAddButtonResource1"
                                                                                            OnClick="CFDownButton_OnClick">
                                                                                            <i class="fa fa-toggle-down fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                            <div class="helppadding">
                                                                                <div class="help help-info">
                                                                                    Press ctrl key for multiple selection
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <%-- </div>--%>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                        <cc1:TabPanel Width="100%" ID="OrderBy" ClientIDMode="Static" runat="server" HeaderText="Order By">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li><a style="padding: 10px 15px !important;">Order By </a></li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <div class="himssuHeader1WireBox">
                                                                        <%--  <div class="himsBoxContent" style="border-top: 1px solid #49A6A5 !important;">--%>
                                                                        <div class="contentHolder" style="height: 400px">
                                                                            <table>
                                                                                <tr>
                                                                                    <td style="padding-left: 10px">
                                                                                        <asp:Label ID="OBAvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="OBAvailableFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="OBSelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="OBSelectedFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td rowspan="2" style="padding-left: 10px">
                                                                                        <asp:ListBox ID="OBAvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                            runat="server" SelectionMode="Multiple" Height="350px" Width="150px" TabIndex="1"
                                                                                            meta:resourcekey="OBAvailableFieldListBoxResource1"></asp:ListBox>
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;<asp:LinkButton ID="OBAddButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                            OnClick="OBAddButton_OnClick">
                                                                                        <i class="fa fa-toggle-right fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="OBRemoveButton" runat="server" Text="&lt;" meta:resourcekey="OBRemoveButtonResource1"
                                                                                            OnClick="OBRemoveButton_OnClick">
                                                                                            <i class="fa fa-toggle-left fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                    <td rowspan="2">
                                                                                        <asp:ListBox ID="OBSelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                                            Height="350px" Width="150px" TabIndex="2" meta:resourcekey="OBSelectedFieldListBoxResource1">
                                                                                        </asp:ListBox>
                                                                                        <asp:HiddenField runat="server" ID="OBSelectedColumnNameHiddenField" />
                                                                                    </td>
                                                                                    <td>
                                                                                        &nbsp;<asp:LinkButton ID="OBUpButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                            OnClick="OBUpButton_OnClick">
                                                                                        <i class="fa fa-toggle-up fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="OBDownButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                            OnClick="OBDownButton_OnClick">
                                                                                            <i class="fa fa-toggle-down fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                            <div class="helppadding">
                                                                                <div class="help help-info">
                                                                                    Press ctrl key for multiple selection
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <%--</div>--%>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                        <cc1:TabPanel Width="100%" ID="ReportList" ClientIDMode="Static" runat="server" HeaderText="Report List">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li><a style="padding: 10px 15px !important;">Report List </a></li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                    <div id="ReportListGridDiv" runat="server">
                                                                        <div class="himssuHeader6WireBox box-body box-solid gridviewfont">
                                                                            <div id="ReportListGridViewPagerDiv" runat="server" visible="False">
                                                                                <div class="leftdiv">
                                                                                </div>
                                                                                <div class="himsBoxTitle">
                                                                                    <div class="gridHeaderText fLeft">
                                                                                    </div>
                                                                                    <div class="fRight">
                                                                                        <uc1:GridViewPager ID="ReportListGridViewPager" ParentGridView="ReportListGridView"
                                                                                            runat="server" OnFirstRecordClick="ReportListGridViewPager_FirstRecordClick"
                                                                                            OnLastRecordClick="ReportListGridViewPager_LastRecordClick" OnNextRecordClick="ReportListGridViewPager_NextRecordClick"
                                                                                            OnPrevRecordClick="ReportListGridViewPager_PrevRecordClick" OnTextBoxValueChange="ReportListGridViewPager_TextBoxValueChange" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="himsBoxContent">
                                                                                <asp:GridView runat="server" ID="ReportListGridView" Width="100%" AutoGenerateColumns="False"
                                                                                    EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="ReportListGridView_RowDataBound"
                                                                                    DataKeyNames="Id,Title" AllowPaging="True" meta:resourcekey="ReportListGridViewResource1"
                                                                                    CssClass="table table-striped table-bordered">
                                                                                    <Columns>
                                                                                        <asp:BoundField DataField="Title" HeaderText="Name">
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="19%" />
                                                                                        </asp:BoundField>
                                                                                        <asp:TemplateField HeaderText="Column Name">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="ColumnNameLabel" runat="server" Text='<%# Eval("ColumnName") %>' ToolTip='<%# Eval("ColumnName") %>'
                                                                                                    Width="840px" CssClass="boxEllips"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="67%" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField>
                                                                                            <ItemTemplate>
                                                                                                <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                                                    Text="View" CausesValidation="false"></asp:LinkButton>
                                                                                            </ItemTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" Width="3%" Wrap="True" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:BoundField DataField="CreatedUserName" HeaderText="Created UserName">
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="8%" />
                                                                                        </asp:BoundField>
                                                                                        <asp:TemplateField HeaderText="Delete">
                                                                                            <ItemTemplate>
                                                                                                <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                                    ToolTip="Delete" Enabled='<%# DataBinder.Eval(Container.DataItem,"IsDelete") %>' />
                                                                                            </ItemTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" Width="3%" />
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div>
                                                                <div class="alignCenter">
                                                                    <asp:Button ID="SearchButton" runat="server" Text="Search" OnClick="SearchButton_Click"
                                                                        SkinID="0" CssClass="btn-primary-search" />
                                                                    <asp:Button ID="ClearButton" runat="server" Text="Reset" OnClick="ClearSearchControls_Click" />
                                                                    <asp:Button ID="GenerateReportButton" runat="server" Text="Generate Report" SkinID="CustomWidthButton"
                                                                        Width="120px" OnClick="GenerateReportButton_Click" Enabled="False" />
                                                                </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                    </cc1:TabContainer>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div id="GeneralExamGridDiv" runat="server">
                                                    <div class="spacer">
                                                        <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                                    </div>
                                                    <div class="himssuHeader6WireBox box-body box-solid gridviewfont">
                                                        <div class="himsBoxHeader" id="GeneralExamGridViewPagerDiv" runat="server" visible="False">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="gridHeaderText ">
                                                                    <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                                </div>
                                                                <div>
                                                                    <uc1:GridViewPager ID="GeneralExamGridViewPager" ParentGridView="GeneralExamGridView"
                                                                        runat="server" OnFirstRecordClick="GeneralExamGridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="GeneralExamGridViewPager_LastRecordClick" OnNextRecordClick="GeneralExamGridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="GeneralExamGridViewPager_PrevRecordClick" OnTextBoxValueChange="GeneralExamGridViewPager_TextBoxValueChange" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:GridView runat="server" ID="GeneralExamGridView" Width="100%" AutoGenerateColumns="False"
                                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="GeneralExamGridView_RowDataBound"
                                                                DataKeyNames="" AllowPaging="True" PageSize="10" OnSelectedIndexChanged="GeneralExamGridView_SelectedIndexChanged"
                                                                ShowHeader="True" meta:resourcekey="GeneralExamGridViewResource1" CssClass="table table-striped table-bordered">
                                                                <Columns>
                                                                    <%--<asp:CommandField ShowSelectButton="True" meta:resourcekey="CommandFieldResource1">
                                                        <ItemStyle HorizontalAlign="Center" ForeColor="Blue" Width="5%"/>
                                                    </asp:CommandField>--%>
                                                                    <asp:BoundField DataField="Code" HeaderText="ID No" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left">
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left">
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="RollNo" HeaderText="Roll No." ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left">
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="ExamName" HeaderText="Exam" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="TotalMarks" HeaderText="Total Marks" ItemStyle-Width="5%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="TotalObtain" HeaderText="Obtain Marks" ItemStyle-Width="6%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="ResultStatus" HeaderText="Status" ItemStyle-Width="5%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="ResultGrade" HeaderText="Grade" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left">
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="ResultGradePoint" HeaderText="Grade Point" ItemStyle-Width="5%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="RankNumber" HeaderText="Rank Number" ItemStyle-Width="6%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="Percentage" HeaderText="Percentage" ItemStyle-Width="5%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="Percentile" HeaderText="Percentile" ItemStyle-Width="5%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="ResultReMark" HeaderText="Remark" ItemStyle-Width="15%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="OtherRemark1" HeaderText="Other Remark" ItemStyle-Width="15%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
