  
<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" uiculture="auto" inherits="Pages_Activity_StudentImmunizationStatus, App_Web_f34onbua" enableEventValidation="false" viewStateEncryptionMode="Never" %> 
 
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %> 
 
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %> 

    <%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="DPC" %>

    <%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
                <!-- ContentPlaceHolder Box Starts -->
                 
                             <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                  
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="169"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                          
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                             
                             <%--   <div class="contentHolder" style="padding-left: 0px; padding-right: 0px">--%>
                                    <div class="himssuHeader1WireBox card card-box">
                                        <div class="himsBoxHeader card-head">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fab fa-angellist"></i>
                                                        <asp:Label ID="Label1" runat="server" Text="Student Immunization Status"></asp:Label>
                                                    </header>
                                                    
                                                </div>

                                                <div class="fRight mt-27">
                                                   <asp:Button ID="BackStudentHealthButton" runat="server" onclick="BackStudentHealthButton_Click" SkinID="0" CssClass="AddButton" Text="Back" Visible="false"/>
                                                    
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent card-body">
                                          <div class="contentHolder">                                                                                            
                                                <asp:Panel ID="StudentSearchPanel" runat="server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="StudentIdNoLabel" runat="server" Text="Id No" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5 display-flex">
                                                                    <asp:TextBox ID="StudentIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextBox"  runat="server" MaxLength="200" 
                                                                        AutoPostBack="true"  ontextchanged="StudentIdNoTextBox_TextChanged" >
                                                                        </asp:TextBox>
                                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                                      ImageUrl="~/images/icons/icon_find.gif"  runat="server"/>
                                                                    <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                                    <asp:HiddenField ID="ClassIdHiddenField" runat="server" />
                                                                    <asp:HiddenField ID="AgeHiddenField" runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="StudentNameLabel" runat="server" Text="Name" ></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="StudentNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>                               
                                                                </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:TextBox ID="ClassTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextBox"  runat="server" MaxLength="200"> </asp:TextBox>                               
                                                                </div>
                                                            </div> 
                                                            </asp:Panel>
                                              
                                               
                                                <div class="himssuHeader6WireBox col-md-12 pb5 mt2" >                                           
                                                    <div class="himsBoxContent">                                                           
                                                        <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 250px; width: 99.6%;">         --%>
                                                        <div class="table-responsive">
                                                        <asp:GridView ID="StudentImmunizationStatusGridView" runat="server"  AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="True" CssClass="table table-striped table-bordered table-hover"
                                                                DataKeyNames="ImmunizationChartId,FromAge,ToAge,IsTaken,DurationUnit,Age" OnRowDataBound="StudentImmunizationStatusGridView_OnRowDataBound"  >
                                                            <%-- OnRowDataBound="StudentImmunizationStatusGridView_OnRowDataBound" OnRowDeleting="StudentImmunizationStatusGridView_RowDeleting">--%>
                                                            <Columns>  
                                                            <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                ItemStyle-Wrap="true">
                                                                <HeaderTemplate>
                                                                    <%-- <asp:Label ID="HeaderDay2Label" runat="server" Text="2"></asp:Label>--%>
                                                                    <itemstyle horizontalalign="Center" />
                                                                    <itemtemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true"   AutoPostBack="true"
                                                                                Visible="true"  OnCheckedChanged = "HeaderSelectCheckBox_checked"  />
                                                                            <span></span>
                                                                            </label>
                                                                    </itemtemplate>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="SelectCheckBox"  Checked ='<%# Bind("IsTaken") %>'
                                                                        runat="server" />
                                                                        <span></span>
                                                                            </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                           <%-- <asp:BoundField DataField="FromAge" HeaderText="From Age" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="ToAge" HeaderText="To Age" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                           

                                                             <asp:TemplateField HeaderText="Immunization" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>                                                                         
                                                                    <asp:Label ID="ImmunizationLable" runat="server" Text='<%# Bind("Immunization") %>' Width="150px" SkinID="CustomWidthTextBox" ></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>      
                                                            
                                                             <asp:BoundField DataField="Duration" HeaderText="Duration" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />                               
                                                                
                                                            <asp:TemplateField HeaderText="Taken Date" ItemStyle-Width="15%" >
                                                                <ItemTemplate>
                                                                    <DPC:DatePickerControl ID="TakenDateTextBox" runat="server" Text='<%# Bind("TakenDate") %>' DisplayDatePicker="true" 
                                                                        Width="150px"  />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Remark" ItemStyle-Width="22%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="RemarkTextBox" runat = "server"   SkinID="CustomWidthTextBox"
                                                                    Text='<%# Eval("Remark") %>'></asp:TextBox>  
                                                                </ItemTemplate>
                                                            </asp:TemplateField> 
                                                                   
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                            </div>
                                                        <%-- </div>--%>                                                     
                                                    </div>
                                                </div>  
                                          </div>
                                       </div>
                                    </div>
                                
                            </div>
                       
                </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>

