<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" title="Select Custom Report" autoeventwireup="true" inherits="Pages_SysAdmin_SelectCustomReport, App_Web_zozhudto" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%--<%@ Register Src="../../../UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>--%>
<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl" TagPrefix="SuperAdminScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="MainUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl" ScreenGroupId="153"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>


                    <div class="whiteboxpaddingleft row">
                        <div class="himssuHeader1WireBox card card-box">
                            <div class="topdisplayContainer">
                                <div class="himsBoxContent messageMessage">
                                    <div class="topdisplayContainer p-l-10">
                                        <table class="fLeft">
                                            <tr>
                                                <td>
                                                    <asp:Label ID="OrgCodeLabelL" runat="server" Text="Code :" Font-Bold="true"></asp:Label>
                                                    &nbsp;&nbsp;<asp:Label ID="OrgCodeLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="200px"></asp:Label></td>

                                                <td>
                                                    <asp:Label ID="OrgDisplayTitleLabelL" runat="server" Text="Display Title :" Font-Bold="true"></asp:Label>
                                                    &nbsp;&nbsp;<asp:Label ID="OrgDisplayTitleLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="500px"></asp:Label></td>

                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>

                            <div class="himsBoxHeader card-head">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-file"></i>
                                            <asp:Label ID="Label4" runat="server" Text="Custom Report"></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="ReportGroupLabel" runat="server" Text="Module Name"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ModuleDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ReportTitleLabel" Text="Report Name" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="ReportTitleTextBox" runat="server"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="alignCenter pTop5 col-md-12">
                                        <asp:Button ID="SearchID" runat="server" OnClick="SearchID_Click" SkinID="0" CssClass="btn-search btn fas"
                                            Text="&#xf002; Search" />
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:CheckBox ID="ReportCheckBox" runat="server" Text="Custom Report" OnCheckedChanged="ReportCheckBox_CheckedChanged" AutoPostBack="true" />
                                        </div>
                                    </div>
                                    <div id="OrgDiv" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList" Visible="false"
                                                    CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                &nbsp;
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:CheckBox ID="ApplyAllOrganizationCheckBox" runat="server" Visible="false" />
                                                <asp:Label ID="ApplyAllOrganizationLabel" runat="server" Text="Apply All Organization" Visible="false" AssociatedControlID="ApplyAllOrganizationCheckBox"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <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">
                                                  <%--  <header>
                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                    </header>--%>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <asp:GridView ID="ReportGridView" runat="server" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                ShowHeader="True" DataKeyNames="ReportId">
                                                <Columns>
                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="10%" ItemStyle-Width="7%"
                                                        ItemStyle-HorizontalAlign="Center">
                                                        <HeaderTemplate>
                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                <asp:CheckBox ID="AllCheckBox" runat="server" onClick="checkAllRows(this);" />
                                                                <span></span>
                                                            </label>
                                                        </HeaderTemplate>
                                                        <ItemTemplate>
                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" onClick="checkUncheckHeaderCheckBox(this);" Checked='<%#Eval("IsObsolete") %>' />
                                                                <span></span>
                                                            </label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="ReportId" HeaderText="Report Id" ItemStyle-Width="10%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="MOduleName" HeaderText="Module Name" ItemStyle-Width="20%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="ReportName" HeaderText="Report" ItemStyle-Width="30%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="ReportPath" HeaderText="Report Path" ItemStyle-Width="40%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <%--HEDP History Ends Here--%>
                    </div>

                </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/organization-taskpermission-encrypt" src="../../../JavaScript/rjs/require.js"></script> --%>
    <%--<script data-main="../../JavaScript/rjs/encrypt/select-report-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/select-report")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
