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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage">
                <table>
                    <tr>
                        <td class="dashBoardLeftCont">
                            <div class="himssuHeader3WireBox">
                                <table>
                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="102"
                                        Visible="true" runat="server" />
                                </table>
                            </div>
                        </td>
                        <td class="whiteboxpaddingleft">
                            <div class="himssuHeader2WireBox card card-box">
                                <div class="contentHolder">
                                    <div class="himssuHeader5WireBox">
                                        <div class="himsBoxHeader card-head">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-id-card"></i>
                                                        <asp:Label ID="Label1" runat="server" Text="Student ICard"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="fRight mt-27 pagination display-flex">
                                                <asp:Button ID="BackButton" runat="Server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" OnClick="BackButton_Click" Visible="false" />
                                            </div>
                                        </div>
                                        <div class="himsBoxContent card-body padd-0">
                                            <cc1:TabContainer ID="newExamMasterTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                                AutoPostBack="true" meta:resourcekey="newExamCustomSearchTabContainerResource1" ActiveTabIndex="0">
                                                <cc1:TabPanel AutoPOstBack="true" Width="100%" ID="ExamMasterTabPanel" runat="server" HeaderText="Student ICard">
                                                    <HeaderTemplate>
                                                        <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                            <li class="fancyTab">
                                                                <a><i class="fas fa-graduation-cap"></i>Student Template
                                                                </a>
                                                            </li>
                                                        </ul>
                                                    </HeaderTemplate>
                                                    <ContentTemplate>
                                                        <div class="pTop5 col-md-12">
                                                            <div class="fLeft labeldesign card-head inner">

                                                                <div class="headerText">
                                                                    <asp:Label ID="SelectedICardlabel1" Text="You selected : " Visible="true"
                                                                        runat="server"></asp:Label>
                                                                    <asp:Label ID="SelectedICard" runat="server"></asp:Label>

                                                                    <div class="pull-right">
                                                                        <asp:Button ID="SaveButton" runat="server" OnClick="SaveButton_Click"
                                                                            Visible="False" Text="&#xf245; Select Template" SkinID="0" CssClass="btn btn-select fas" />
                                                                    </div>
                                                                </div>
                                                            </div>

                                                        </div>

                                                        <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="gridHeaderText fLeft">
                                                                    <asp:Label ID="GridViewLabel"
                                                                        runat="server" Font-Bold="True"
                                                                        meta:resourcekey="GridViewLabelResource1" />
                                                                    <asp:HiddenField ID="ICardRowHiddenField" runat="server" />
                                                                    <asp:HiddenField ID="ReportIdHiddenField" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent col-md-12 gridviewfont pTop5">
                                                            <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                                                visible="False">
                                                            </div>
                                                            <asp:GridView ID="ICardGridview" runat="server" AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover table-resposive"
                                                                DataKeyNames="Id,Title,ReportId"
                                                                OnRowDataBound="ICardGridview_RowDataBound">
                                                                <Columns>
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                <asp:CheckBox ID="ICardcheckbox" AutoPostBack="true" runat="server" OnCheckedChanged="ICardcheckbox_CheckedChanged" />
                                                                                <span></span>
                                                                            </label>

                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="2%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="I-Card Name">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="Title" Font-Bold="true" runat="server" ClientIDMode="Static" Text='<%# Bind("Title") %>'
                                                                                SkinID="CustomWidthLabel"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="8%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Remark">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="Remark" runat="server" ClientIDMode="Static" Text='<%# Bind("Remark") %>'
                                                                                SkinID="CustomWidthLabel"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="30%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Download">
                                                                        <ItemTemplate>
                                                                            <asp:HyperLink ID="HyperLink1" Target="_parent" NavigateUrl='<%#  Eval("DesignTemplate").ToString()  %>' runat="server" Text="Download Template"></asp:HyperLink>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="13%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Image">
                                                                        <ItemTemplate>
                                                                            <asp:HyperLink ID="HyperLink2" Target="_blank" CssClass="icardimg" NavigateUrl='<%#  Eval("ICardImage").ToString()  %>' runat="server">                                                                                  
                                                                                    <img src='<%# Page.ResolveUrl( Eval("ICardImage").ToString()) %>' width="200" /> 
                                                                            </asp:HyperLink>
                                                                        </ItemTemplate>
                                                                        <ControlStyle Width="50%" />
                                                                        <ItemStyle Width="25%" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Download">
                                                                        <ItemTemplate>
                                                                            <asp:HyperLink ID="DownloadPdfHyperLink" Target="_blank" NavigateUrl='<%#Eval("ICardPDF").ToString() %>' runat="server" Text="Download PDF"></asp:HyperLink>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="10%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </cc1:TabPanel>
                                                <cc1:TabPanel AutoPOstBack="true" Width="100%" ID="ExamSettingTabPanel" runat="server" HeaderText="ICard Upload">
                                                    <HeaderTemplate>
                                                        <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                            <li class="fancyTab">
                                                                <a><i class="fas fa-align-left"></i>Customize Template
                                                                </a>
                                                            </li>
                                                        </ul>
                                                    </HeaderTemplate>
                                                    <ContentTemplate>
                                                        <div class="pTop5 col-md-12 pb5">
                                                            <div class="fLeft labeldesign card-head inner">
                                                                <asp:Label ID="ReportTItleLabel2" Text="You selected : " Visible="false" runat="server"></asp:Label>
                                                                <div class="headerText">
                                                                    <asp:Label ID="ReportNameLabel2" runat="server" Text="Report" Visible="false"></asp:Label>
                                                                    <div class="pull-right">
                                                                        <asp:Button ID="StudentICardButton" Text="&#xf093; Upload Template" runat="Server"
                                                                            SkinID="0" OnClick="StudentICardButton_Click" CssClass="fas btn btn-upload" />

                                                                        <asp:Button ID="RefreshButton" runat="server" Text="&#xf0e2; Refresh" OnClick="RefreshButton_Click"
                                                                            SkinID="0" CssClass="fas btn btn-refresh" />

                                                                        <asp:Button ID="UploadButton" CssClass="fas btn btn-upload" runat="server" Text="&#xf093; Upload" OnClick="UploadButton_Click"
                                                                            Visible="false" SkinID="0" />

                                                                        <asp:Button ID="DeleteImageButton" runat="server" CssClass="fas btn btn-delete" OnClick="DeleteImageButton_OnClick"
                                                                            ToolTip="Delete" Text="&#Xf2ed; Delete" Visible="false" SkinID="0" />
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div id="uploaddiv" class="box box-body" visible="false" runat="server">
                                                                <div id="Div1" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="UploadOrganizationPhotoGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        SkinID="" ShowHeader="True" PagerSettings-Visible="false" DataKeyNames="FullFileName" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:BoundField DataField="FileName" HeaderText="FileName" HeaderStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Width="10%" />
                                                                            <asp:TemplateField HeaderText="Fullfile" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Center"
                                                                                ItemStyle-HorizontalAlign="Center" Visible="false" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="lblFullFileName" runat="server" Text='<%#Eval("FullFileName") %>' />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Photo" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Center"
                                                                                ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:Image ID="OrganizationPhoto" Height="60px" Width="60px" runat="server" ImageUrl='<%# Eval("FilePath")%>' />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                                                                                ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" Visible="false">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_OnClick"
                                                                                        ToolTip="Delete" ImageUrl="~/Images/Del.png" />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                            <div id="UpdateDetails" class="col-md-12" runat="server" visible="false">
                                                                <div class="outerBox11 pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="IcardOrgTitleLable" runat="server" Text="Icard Title"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="IcardOrgTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            runat="server" MaxLength="200" AutoPostBack="false" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox11 pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="IcardAddress1Lable" runat="server" Text="Icard Address1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="IcardAddress1TextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            runat="server" MaxLength="100" AutoPostBack="false" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox11 pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="IcardAddress2Lable" runat="server" Text="Icard Address2"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="IcardAddress2TextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            runat="server" MaxLength="100" AutoPostBack="false" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox11 pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="IcardAddress3Lable" runat="server" Text="Icard Address3"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="IcardAddress3TextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            runat="server" MaxLength="100" AutoPostBack="false" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="cBoth">
                                                                </div>
                                                                <div class="outerBox11 pTop5 cpiker col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ColorLabel" runat="server" Text="Label Color"></asp:Label>
                                                                    </div>
                                                                    <asp:TextBox ID="TextBox1" runat="server" Enabled="false" />
                                                                    <asp:Label ID="selectedcolor1" Width="15px" Height="10px" runat="server"></asp:Label>
                                                                    <br />
                                                                    <br />
                                                                    <div class="col-md-12 display-flex">
                                                                        <div id="preview" runat="server" class="previewpicker">
                                                                        </div>
                                                                        <asp:Button ID="Button1" CssClass="btn btn-colorpicker" SkinID="0" runat="server" Text="Choose Color" />
                                                                        <cc1:ColorPickerExtender ID="ColorPicker1" runat="server"
                                                                            TargetControlID="TextBox1"
                                                                            SampleControlID="preview"
                                                                            PopupButtonID="Button1"
                                                                            PopupPosition="Right"
                                                                            OnClientColorSelectionChanged="Color_Changed" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox11 cpiker pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label2" runat="server" Text="Detail Color"></asp:Label>
                                                                    </div>
                                                                    <asp:TextBox ID="TextBox2" runat="server" Enabled="false" />
                                                                    <asp:Label ID="selectedcolor2" Width="15px" Height="10px" runat="server"></asp:Label>
                                                                    <br />
                                                                    <br />
                                                                    <div class="col-md-12 display-flex">
                                                                        <div id="preview1" runat="server" class="previewpicker">
                                                                        </div>
                                                                        <asp:Button ID="Button2" runat="server" CssClass="btn btn-colorpicker" SkinID="0" Text="Choose Color" />
                                                                        <cc1:ColorPickerExtender ID="ColorPickerExtender1" runat="server"
                                                                            TargetControlID="TextBox2"
                                                                            SampleControlID="preview1"
                                                                            PopupButtonID="Button2"
                                                                            PopupPosition="Right"
                                                                            OnClientColorSelectionChanged="Color_Changed" />
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox11 cpiker pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label3" runat="server" Text="Header Color"></asp:Label>
                                                                    </div>
                                                                    <asp:TextBox ID="TextBox3" runat="server" Enabled="false" />
                                                                    <asp:Label ID="selectedcolor3" Width="15px" Height="10px" runat="server"></asp:Label>
                                                                    <br />
                                                                    <br />
                                                                    <div class="col-md-12  display-flex">
                                                                        <div id="preview2" runat="server" class="previewpicker">
                                                                        </div>
                                                                        <asp:Button ID="Button3" runat="server" CssClass="btn btn-colorpicker" SkinID="0" Text="Choose Color" />
                                                                        <cc1:ColorPickerExtender ID="ColorPickerExtender2" runat="server"
                                                                            TargetControlID="TextBox3"
                                                                            SampleControlID="preview2"
                                                                            PopupButtonID="Button3"
                                                                            PopupPosition="Right"
                                                                            OnClientColorSelectionChanged="Color_Changed" />
                                                                    </div>
                                                                </div>
                                                                <div class="cBoth">
                                                                </div>
                                                                <div id="BarcodeDiv" runat="server" class="outerBox pTop15 col-md-3" visible="false">
                                                                    <div class="controlLabelWidth">

                                                                        <div class="fLeft pRight5">
                                                                            <%--  <label id="IsShowBarcodeLabel" runat="server" class="rt-chkbox rt-chkbox-single rt-chkbox-outline" text="Show BarCode">--%>
                                                                            <asp:CheckBox ID="IsShowBarcodeCheckBox" runat="server" Text="Show BarCode" />
                                                                            <%--  <span></span>
                                                                                    Show BarCode
                                                                                </label>--%>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop15 col-md-3" style="display: none">
                                                                    <div class="controlLabelWidth">

                                                                        <div class="fLeft pRight5">
                                                                            <label id="IsShowBirthdateLabel" runat="server" text="Show BirthDate" class="rt-chkbox rt-chkbox-single rt-chkbox-outline" visible="false">
                                                                                <asp:CheckBox ID="IsShowBirthdateCheckBox" runat="server" Visible="false" />
                                                                                <span></span>
                                                                                Show BirthDate
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop15 col-md-3" style="display: none">
                                                                    <div class="controlLabelWidth">

                                                                        <div class="fLeft pRight5">
                                                                            <label id="IsShowBloodGroupLabel" runat="server" text="Show Blood Group" class="rt-chkbox rt-chkbox-single rt-chkbox-outline" visible="false">
                                                                                <asp:CheckBox ID="IsShowBloodGroupCheckBox" runat="server" Visible="false" />
                                                                                <span></span>
                                                                                Show Blood Group
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">

                                                                        <div class="fLeft pRight5">
                                                                            <label id="IsShowHouseLabel" runat="server" class="rt-chkbox rt-chkbox-single rt-chkbox-outline" text="Show House" visible="false">
                                                                                <asp:CheckBox ID="IsShowHouseCheckBox" runat="server" Visible="false" />
                                                                                <span></span>
                                                                                Show House
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">

                                                                        <div class="fLeft pRight5">
                                                                            <label id="IsShowBatchLabel" runat="server" class="rt-chkbox rt-chkbox-single rt-chkbox-outline" text="Show Batch" visible="false">
                                                                                <asp:CheckBox ID="IsShowBatchCheckBox" runat="server" Visible="false" />
                                                                                <span></span>
                                                                                Show Batch
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">

                                                                        <div class="fLeft pRight5">
                                                                            <label id="IsShowRollnoLabel" runat="server" class="rt-chkbox rt-chkbox-single rt-chkbox-outline" text="Show RollNo" visible="false">
                                                                                <asp:CheckBox ID="IsShowRollnoCheckBox" runat="server" Visible="false" />
                                                                                <span></span>
                                                                                Show RollNo
                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div style="text-align: center" class="pTop5 pb5 col-md-12">
                                                                    <asp:Button ID="UpdateButton" runat="server" OnClick="UpdateButton_Click" CssClass="fas btn btn-update" Text="&#xf021; Update Details" SkinID="0" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </cc1:TabPanel>
                                                <cc1:TabPanel AutoPOstBack="true" ID="TabPanel1" runat="server" HeaderText="ICard Report">
                                                    <HeaderTemplate>
                                                        <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                            <li class="fancyTab">
                                                                <a><i class="far fa-file-alt"></i>Generate Report
                                                                </a>
                                                            </li>
                                                        </ul>
                                                    </HeaderTemplate>
                                                    <ContentTemplate>
                                                        <div class="himsBoxContent">
                                                            <div class="contentHolder">
                                                                <asp:Panel ID="StudentReportListDiv" runat="server">
                                                                    <div class="card-head inner col-md-12">
                                                                        <div class="controlLabelWidth labeldesign">
                                                                            <asp:Label ID="ReportLabel" CssClass="labeldesign" runat="server" Text="Template : " Visible="false"></asp:Label>
                                                                            <asp:Label ID="ReportNameLabel" runat="server" Text="Report" Visible="false"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="ReportDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                                                CssClass="form-control" SkinID="CustomWidthDropDownList" AutoPostBack="true" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ReportDropDownList_OnSelectedIndexChanged" Visible="false">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-12">
                                                                        <div class="controlLabelWidth alert alert-info">
                                                                            <i class="material-icons">info</i>
                                                                            <asp:Label ID="RamarkLabel" runat="server" Text=" | Add ID No with . Dot seperation (Eg. 2. 5. 10)"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                    <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 ID="DepartmentDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()" AutoPostBack="True" OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="ClassDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ClassDropDownListResource"
                                                                                AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                                        </div>
                                                                        <asp:DropDownList ID="DivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                            OnSelectedIndexChanged="DivisionDropDownList_OnSelectedIndexChanged" />
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="StudentLabel" runat="server" Text="Student"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="StudentDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                                                        </div>
                                                                        <%--Changed for mantis : 34346 by Nilesh--%>
                                                                        <asp:DropDownList ID="StatusDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                            AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="StatusDropDownList_SelectedIndexChanged"/>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="FromRollNoLabel" runat="server" Text="From Roll No"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="FromRollNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ToRollNoLabel" runat="server" Text="To Roll No"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="ToRollNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                        </div>
                                                                    </div>


                                                                    <div id="MonthDiv" runat="server" visible="false">
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="MonthLabel" runat="server" Text="Month"></asp:Label>
                                                                            </div>
                                                                            <asp:DropDownList ID="MonthDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                                AutoPostBack="false" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="HouseGroupLabel" runat="server" Text="House Group"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="HouseGroupDropDownList" runat="server"
                                                                                CssClass="form-control" SkinID="CustomWidthDropDownList">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="HouseLabel" runat="server" Text="House"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="HouseDropDownList" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-12">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="SearchCodeLabel" runat="server" Text="ID No"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="SearchCodeTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                            </div>

                                                            <div class="col-md-12 alignCenter pb5">
                                                                <asp:Button ID="PrintButton" Text="&#xf15c; View Report" runat="server" SkinID="0" CssClass="btn btn-report fas" OnClick="PrintButton_Click" />
                                                            </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </cc1:TabPanel>
                                            </cc1:TabContainer>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/student-card-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/student-card")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script type="text/javascript">
        function Color_Changed(sender) {
            sender.get_element().value = "#" + sender.get_selectedColor();
        }
    </script>

</asp:Content>
