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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="SelectReportFormatUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div 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="167"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <%--<div class="tableContainer">
                                <cc1:TabContainer Width="100%" ID="SetWorkingDaysTabContainer" runat="server" CssClass="ajax__myTab"
                    meta:resourcekey="SetWorkingDaysTabContainerResource1" ActiveTabIndex="0">
                    <cc1:TabPanel Width="100%" ID="ClassTabPanel" runat="server" HeaderText="Student Batch">
                        <ContentTemplate>--%>
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="far fa-file-alt"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Select Report Format"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ReportRemarkGroupLabel" SkinID="MandatoryLabel" runat="server" Text="Report Remark Group"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="ReportRemarkGroupDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="ReportRemarkGroupDropDownList_OnSelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="cBoth">
                                    <div class="spacer">
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SchoolRemark1AllLabel" runat="server" Text="SchoolRemark1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox runat="server" ID="SchoolRemark1AllTextBox" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="500">
                                        </asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SchoolRemark2AllLabel" runat="server" Text="SchoolRemark2"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox runat="server" ID="SchoolRemark2AllTextBox" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="500">
                                        </asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SchoolRemark3AllLabel" runat="server" Text="SchoolRemark3"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox runat="server" ID="SchoolRemark3AllTextBox" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="500">
                                        </asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SchoolRequiredSignatureAllLabel" runat="server" Text="School Required Signature"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox runat="server" ID="SchoolRequiredSignatureAllTextBox" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="500">
                                        </asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:Button ID="ApplyToAllButton" runat="server" Text="Apply To All" CssClass="btn-apply btn fas" SkinID="0" OnClick="ApplyToAllButton_Click" />
                                </div>
                            </div>
                            <div class="cBoth">
                            </div>
                            <br />
                            <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="gridHeaderText">
                                            <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent">
                                    <div id="Div4" runat="server" class="table-responsive">
                                        <asp:GridView ID="ReportRemarkGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                            EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                            ShowHeader="True" DataKeyNames="OrgId">
                                            <Columns>
                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="5%" ItemStyle-Width="7%"
                                                    ItemStyle-HorizontalAlign="Center">
                                                    <HeaderTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="AllCheckBox" runat="server" onclick="selectAll(this);" /><br />
                                                            <span></span>
                                                        </label>
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Bind("IsObsolete") %>' />
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="Organization" HeaderText="Organization" ItemStyle-Width="70%"
                                                    HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                <asp:TemplateField HeaderText="SchoolRemark1" ItemStyle-Width="25%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="SchoolRemark1TextBox" runat="server" SkinID="CustomWidthTextBox" Width="154px" MaxLength="500" Text='<%# Bind("SchoolRemark1") %>'>
                                                        </asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="SchoolRemark2" ItemStyle-Width="25%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="SchoolRemark2TextBox" runat="server" SkinID="CustomWidthTextBox" Width="154px" MaxLength="500" Text='<%# Bind("SchoolRemark2") %>'>
                                                        </asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="SchoolRemark3" ItemStyle-Width="25%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="SchoolRemark3TextBox" runat="server" SkinID="CustomWidthTextBox" Width="154px" MaxLength="500" Text='<%# Bind("SchoolRemark3") %>'>
                                                        </asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="SchoolRequiredSignature" ItemStyle-Width="25%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="SchoolRequiredSignatureTextBox" runat="server" MaxLength="500" SkinID="CustomWidthTextBox" Width="154px" Text='<%# Bind("SchoolRequiredSignature") %>'>
                                                        </asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="spacer">
                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                </div>
           
           
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script type="text/javascript" language="javascript">

        function fnValidate() {
            //debugger;
            var himsValidator = [
                                 new hims_ctl_val('<%= ReportRemarkGroupDropDownList.ClientID %>', "Report Remark Group", "T", "", "", "", 20)];

            if (fnDoValidate(himsValidator))
                return true;
            else
                return false;
        }


        // Let's use a lowercase function name to keep with JavaScript conventions

        function selectAll(invoker) {

            // Since ASP.NET checkboxes are really HTML input elements

            //  let's get all the inputs

            var inputElements = document.getElementsByTagName('input');



            for (var i = 0; i < inputElements.length; i++) {

                var myElement = inputElements[i];



                // Filter through the input types looking for checkboxes

                if (myElement.type === "checkbox") {



                    // Use the invoker (our calling element) as the reference 

                    //  for our checkbox status

                    myElement.checked = invoker.checked;

                }

            }

        }




        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode != 46 && charCode > 31
            && (charCode < 48 || charCode > 57))
                return false;

            return true;
        }

    </script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/select-report-remark")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
