<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Support_Utility_Gallery_Category, App_Web_djui4w5k" uiculture="auto" 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" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="div1" class="divcontentpagemargin">
               
                            <div class="dashBoardLeftCont" valign="top" runat="server" id="ScreenGroupTableId">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="157"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div id="divContentPage">
                                    <div style="width: 100%">
                                        <table width="100%" cellpadding="0" cellspacing="0"></table>
                                       
                                        <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td valign="top">
                                                    <div class="himssuHeader1WireBox card card-box">
                                                        <div class="himsBoxHeader card-head">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText">
                                                                    <header>
                                                                        <i class="fas fa-list-ul"></i>
                                                                    <asp:Label ID="Label1" runat="server" Text="Category"></asp:Label>
                                                                    </header>
                                                                </div>
                                                                <div class="fRight mt-27">
                                                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                                        class="btn btn-back fas" Text="&#xf30a;  Back" />
                                                                </div>
                                                            </div>
                                                           
                                                        </div>
                                                        <div class="himsBoxContent card-body">
                                                            <div class="contentHolder">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:HiddenField ID="CategoryHiddenField" Value="0" runat="server" />
                                                                        <asp:Label ID="NameLabel" Text="Name" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="NameTextBox" runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">

                                                                        <asp:Label ID="RemarkLabel" Text="Remark" runat="server"  ></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="RemarkTextBox" runat="server" SkinID="MultiLineTextbox" TextMode="MultiLine" ></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                               
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="SourceTypeLabel" Text="Source Type" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="SourceTypeDropDownList" runat="server" CssClass="form-control" OnSelectedIndexChanged="SourceTypeDropDownList_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">

                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="OrgLabel" Text="Organization" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="OrgDropDownList" runat="server" CssClass="form-control" OnSelectedIndexChanged="OrgDropDownList_SelectedIndexChanged" AutoPostBack="true" Visible="false"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                               
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="ObsoleteCheckBox" runat="server" Text="InActive" />                                                                       
                                                                    </div>
                                                                </div>
                                                              
                                                                <div id="Div2" class="himssuHeader6WireBox col-md-12" runat="server" visible="true">
                                                                    <div class="himsBoxHeader card-head inner" id="Div8" runat="server" visible="True">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="gridHeaderText fLeft">
                                                                                <header>                                                                                    
                                                                                <asp:Label ID="Label6" Text="List" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div id ="ScopeDiv" runat ="server" visible="false">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="">
                                                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                                        OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="DepartmentLabel" Text="Department" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="">
                                                                                    <asp:DropDownList ID="DepartmentDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                                        OnSelectedIndexChanged="DepartmentDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ClassLabel" Text="Class" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="">
                                                                                    <asp:DropDownList ID="ClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                                        OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="DivisionLabel" Text="Division" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="">
                                                                                    <asp:DropDownList ID="DivisionDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                                        OnSelectedIndexChanged="DivisionDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    <div class="himsBoxContent table-responsive">
                                                                        <asp:GridView ID="OrganizationGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover"
                                                                            Width="100%" EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true"
                                                                            DataKeyNames="Id">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                                    <HeaderTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsObsoleteCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </HeaderTemplate>
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%#Convert.ToBoolean(Eval("IsObsolete"))%>' />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="Title" ItemStyle-Width="93%"
                                                                                    HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                        
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>                                                    
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>                       
                </div>
            </div>
          
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../../JavaScript/rjs/encrypt/category-encrypt" src="../../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/category")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
