<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Support_Utility_Gallery_MCategory, App_Web_sv0qjpqm" uiculture="auto" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <style type="text/css">
                .btn-default {
                    background-color: #e6e6e6;
                    border-color: #adadad;
                }

                input[type="submit"][disabled] {
                    cursor: not-allowed;
                }
            </style>
            <div id="div1">
                <div class="padding-top-header">
                    <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                        <strong>
                            <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                    </div>
                    <div style="width: 100%; padding: 2px; margin: 2px">
                        <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                    <div id="divContentPage">
                                        <div style="width: 100%">
                                            <table width="100%" cellpadding="0" cellspacing="0">
                                            </table>
                                            <div class="spacer5">
                                                <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                                            </div>
                                            <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td valign="top">
                                                        <div class="himssuHeader1WireBox whitebox">
                                                            <div class="himsBoxHeader note note1 box box-danger">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <asp:Label ID="Label1" runat="server" Text="Category"></asp:Label>
                                                                    </div>
                                                                    <div align="right" style="vertical-align: top; margin-top: -19px">
                                                                        <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                                            CssClass="BackButton" Text="Back" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent">
                                                                <div class="contentHolder">
                                                                    <div class="outerBox pTop5">
                                                                        <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" Width="150px" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="cBoth">
                                                                    </div>
                                                                    <div class="outerBox pTop5">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="ObsoleteCheckBox" runat="server" />
                                                                            <asp:Label ID="ObsoleteLabel" runat="server" Text="InActive"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                    <div class="cBoth">
                                                                    </div>
                                                                    <div id="Div2" class="himssuHeader6WireBox box-body box-solid gridviewfont" runat="server" visible="true">
                                                                        <div class="himsBoxHeader" id="Div8" runat="server" visible="True">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <div class="headerText fLeft">
                                                                                    <asp:Label ID="Label6" Text="Organization" runat="server" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="himsBoxContent">
                                                                            <asp:GridView ID="OrganizationGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered"
                                                                                Width="100%" EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true"
                                                                                DataKeyNames="OrgId">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                                        <HeaderTemplate>
                                                                                            <asp:CheckBox ID="HeaderIsObsoleteCheckBox" AutoPostBack="true" OnCheckedChanged="HeaderIsObsoleteCheckBox_CheckedChanged"
                                                                                                runat="server" />
                                                                                        </HeaderTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                        <ItemTemplate>
                                                                                            <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="Organization" HeaderText="Organization" ItemStyle-Width="93%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="spacer">
                                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                            </div>
                                                            <div>
                                                                <asp:Button ID="SaveButton" runat="server" Text="Save" CssClass="btn btn-primary " OnClick="SaveButton_Click" />
                                                                <asp:Button ID="EditButton" runat="server" Text="Edit" CssClass="btn btn-default " OnClick="EditButton_Click" />
                                                                <asp:Button ID="DeleteButton" runat="server" Text="Delete" CssClass="btn btn-danger " OnClick="DeleteButton_Click" />
                                                                <asp:Button ID="ClearButton" runat="server" Text="Clear" CssClass="btn btn-default " OnClick="ClearButton_Click" />

                                                            </div>
                                                            <div class="spacer">
                                                                <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                            </div>
                                                        </div>
                                                        <div class="spacer">
                                                            <asp:Image ID="Image5" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../../../JavaScript/rjs/encrypt/mcategory-encrypt" src="../../../../JavaScript/rjs/require.js"></script>
</asp:Content>