<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_RevenueCycleManagement_OrderEntry_ServiceCategoryMaster, App_Web_2iv10hvx" title="Untitled Page" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ 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="ServiceCategoryUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image4" 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 class="dashBoardLeftCont" style="width: 160px" valign="top">
                                <%--     padding-top: 7px"--%>
                                <div id="leftContainer">
                                    <!-- Left Container 1 Box Start -->
                                    <dl class="expandMenu">
                                        <table width="100%" border="0">
                                            <tr>
                                                <td>
                                                    <%--   <div>
                                                        <POP:PopupAlertControl ID="PopupAlertPeriodicControlBox" runat="server" Visible="false" />
                                                    </div>--%>
                                                    <div class="himssuHeader3WireBox">
                                                        <dt id="dtSETTINGS" onclick="showHideSwitch('ddSETTINGS')">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxHeader">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <table width="100%">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <div class="headerText">
                                                                                                Master
                                                                                            </div>
                                                                                        </td>
                                                                                        <td>
                                                                                            <img name="ddSETTINGSButton" id="ddSETTINGSButton" src="../../../Images/buttonCollapse.gif"></img>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </dt>
                                                        <%-- <dd style="text-align: left; margin: 0px" class="hideSwitch" id="ddSETTINGS">--%>
                                                        <dd style="text-align: left; margin: 0px" id="ddSETTINGS">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxContent leftTableContainer">
                                                                            <div class="leftUlMenu">
                                                                                <ul id="sidebarmenu1">
                                                                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="135"
                                                                                        Visible="true" runat="server" />
                                                                                </ul>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <div class="himsBoxFooter">
                                                                <div>
                                                                </div>
                                                            </div>
                                                        </dd>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </dl>
                                </div>
                            </td>
                            <td class="minMaxButton" style="width: 1%; margin: 0; vertical-align: top">
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                            </td>
                            <td style="vertical-align: top">
                                <div class="himssuHeader2WireBox">
                                    <div class="himsBoxHeader">
                                        <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <asp:Image ID="Image2" runat="server" class="fLeft"
                                                    meta:resourcekey="Image2Resource1" />
                                                <div class="headerText">
                                                    <asp:Label ID="Label3" runat="server" Text="Search"
                                                        meta:resourcekey="Label3Resource1"></asp:Label>
                                                    <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="DetailPanel"
                                                        ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label3" Collapsed="True"
                                                        ImageControlID="Image2" ExpandedImage="~/images/buttonCollapse.gif"
                                                        CollapsedImage="~/images/buttonExpand.gif" Enabled="True" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="server"
                                            meta:resourcekey="DetailPanelResource1">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="server"
                                                    meta:resourcekey="SearchCriteriaPanelResource1">
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label1" Text="Code" runat="server"
                                                                meta:resourcekey="Label1Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ServiceCategoryCodeSearchTextbox"
                                                                SkinID="CustomWidthTextBox" Width="150px"
                                                                runat="server" onkeypress="return fnKeyPressForNameField(event)"
                                                                onblur="return fnonTextChangeNameField(this)"
                                                                meta:resourcekey="ServiceCategoryCodeSearchTextboxResource1" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBoxPreBtn pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label2" Text="Name" runat="server"
                                                                meta:resourcekey="Label2Resource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ServiceCategoryNameSearchTextbox"
                                                                SkinID="CustomWidthTextBox" Width="150px"
                                                                runat="server"
                                                                onkeypress="return fnKeyPressForDescriptionField(event)"
                                                                onblur="return fnonTextChangeDescriptionField(this)"
                                                                meta:resourcekey="ServiceCategoryNameSearchTextboxResource1" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5">
                                                        <div class="searchBoxBtn">
                                                            <asp:Button ID="SearchButton" Text="Search" runat="server"
                                                                OnClick="SearchButton_Click" SkinID="0" CssClass="PrimaryButton" />
                                                            <asp:Button ID="ResetButton" runat="server" Text="Clear"
                                                                onblur="fnClearTabIndexChange()" OnClick="ResetButton_Click"
                                                                meta:resourcekey="ResetButtonResource1" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader1WireBox" runat="server" style="width: 100%; margin-right: 5px;">
                                                    <div id="ServiceCategoryMasterDetailDiv" visible="False" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif"
                                                                meta:resourcekey="Image3Resource1" />
                                                        </div>
                                                        <div class="himsBoxHeader" id="PatientRelationDiv" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle" style="width: 99%">
                                                                <div class="headerText">
                                                                    <div class="fLeft">
                                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="True"
                                                                            meta:resourcekey="GridViewLabelResource1" />
                                                                    </div>
                                                                </div>
                                                                <div align="right" class="fRight" style="margin-top: -3px;">
                                                                    <uc1:GridViewPager ID="ServiceCategoryMasterGridView_GridViewPager" runat="server"
                                                                        OnFirstRecordClick="ServiceCategoryMasterGridView_GridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="ServiceCategoryMasterGridView_GridViewPager_LastRecordClick"
                                                                        OnNextRecordClick="ServiceCategoryMasterGridView_GridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="ServiceCategoryMasterGridView_GridViewPager_PrevRecordClick"
                                                                        OnTextBoxValueChange="ServiceCategoryMasterGridView_GridViewPager_TextBoxValueChange"
                                                                        ParentGridView="ServiceCategoryMasterGridView" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                                <asp:Table ID="GridViewTable" runat="server" CellPadding="0" CellSpacing="0" BackColor="#E8E8E8"
                                                                    ForeColor="Black" Width="100%" GridLines="Both"
                                                                    CssClass="GridViewTableRow" meta:resourcekey="GridViewTableResource1">
                                                                </asp:Table>
                                                            </div>
                                                            <div class="himsBoxContentMsg" id="GridMessageDiv" runat="server"
                                                                visible="False">
                                                            </div>
                                                            <div id="DivData" class="Container" style="vertical-align: top; height: 109px; width: 100%;">
                                                                <asp:GridView ID="ServiceCategoryMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    OnSelectedIndexChanged="ServiceCategoryMasterGridView_SelectedIndexChanged" DataKeyNames="Id,ServiceItemType,Code,Title,ServiceItemTypeTitle"
                                                                    OnPageIndexChanging="ServiceCategoryMasterGridView_PageIndexChanging" AllowPaging="True"
                                                                    PageSize="5" EmptyDataText="No Service Category Available"
                                                                    ShowHeader="False"
                                                                    meta:resourcekey="ServiceCategoryMasterGridViewResource1">
                                                                    <Columns>
                                                                        <asp:CommandField ShowHeader="True" ShowSelectButton="True"
                                                                            meta:resourcekey="CommandFieldResource1">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" ForeColor="Blue" Width="8%" />
                                                                        </asp:CommandField>
                                                                        <asp:BoundField HeaderText="Id" DataField="Id" Visible="False"
                                                                            meta:resourcekey="BoundFieldResource1">
                                                                            <ItemStyle Width="0%" />
                                                                        </asp:BoundField>
                                                                        <asp:BoundField HeaderText="ServiceItemType" DataField="ServiceItemType"
                                                                            Visible="False" meta:resourcekey="BoundFieldResource2">
                                                                            <ItemStyle Width="0%" />
                                                                        </asp:BoundField>
                                                                        <asp:BoundField HeaderText="Code" DataField="Code"
                                                                            meta:resourcekey="BoundFieldResource3">
                                                                            <ItemStyle Width="20%" />
                                                                        </asp:BoundField>
                                                                        <asp:BoundField HeaderText="Name" DataField="Title"
                                                                            meta:resourcekey="BoundFieldResource4">
                                                                            <ItemStyle Width="24%" />
                                                                        </asp:BoundField>
                                                                        <asp:BoundField HeaderText="Main Group" DataField="ServiceItemTypeTitle"
                                                                            meta:resourcekey="BoundFieldResource5">
                                                                            <ItemStyle Width="20%" />
                                                                        </asp:BoundField>
                                                                        <asp:BoundField HeaderText="InActive" Visible="False" DataField="IsObsolete"
                                                                            meta:resourcekey="BoundFieldResource6">
                                                                            <ItemStyle Width="0%" />
                                                                        </asp:BoundField>
                                                                        <asp:BoundField HeaderText="InActive" DataField="IsObsoleteYN"
                                                                            meta:resourcekey="BoundFieldResource7">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" Width="8%" />
                                                                        </asp:BoundField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                                        meta:resourcekey="Image1Resource1" />
                                </div>
                                <div class="himssuHeader1WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="ServiceCategoryDetailsLabel" runat="server" Text="Maintenance"
                                                    meta:resourcekey="ServiceCategoryDetailsLabelResource1"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ServiceCategoryDetailsCodeLabel"
                                                        runat="server" Text="Code" SkinID="MandatoryLabel"
                                                        meta:resourcekey="ServiceCategoryDetailsCodeLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ServiceCategoryCodeTextBox"
                                                        SkinID="CustomWidthTextBox" Width="150px"
                                                        runat="server" MaxLength="100" AutoPostBack="True" OnTextChanged="ServiceCategoryCodeTextBox_TextChanged"
                                                        onkeypress="return fnKeyPressForCodeField(event)"
                                                        onblur="return fnonTextChangeCodeField(this)"
                                                        meta:resourcekey="ServiceCategoryCodeTextBoxResource1"></asp:TextBox>
                                                    <asp:HiddenField ID="IdHiddenField" Value="0" runat="server"></asp:HiddenField>
                                                </div>
                                            </div>
                                            <div class="cBoth"></div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ServiceCategoryDetailsNameLabel"
                                                        runat="server" Text="Name" SkinID="MandatoryLabel"
                                                        meta:resourcekey="ServiceCategoryDetailsNameLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox runat="server"
                                                        ID="ServiceCategoryNameTextbox" SkinID="CustomWidthTextBox"
                                                        Width="150px" MaxLength="100"
                                                        meta:resourcekey="ServiceCategoryNameTextboxResource1"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="cBoth"></div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ServiceCategoryDetailsTypeLabel"
                                                        runat="server" Text="Main Group"
                                                        SkinID="MandatoryLabel"
                                                        meta:resourcekey="ServiceCategoryDetailsTypeLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="ServiceItemTypeDropDownList"
                                                        SkinID="CustomWidthTextBox" Width="155px"
                                                        runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="ServiceItemTypeDropDownListResource1">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth"></div>
                                            <div class="outerBox pTop5">
                                                <div class="fLeft">
                                                    <asp:CheckBox ID="ServiceCategoryObsoleteCheckBox"
                                                        runat="server" meta:resourcekey="ServiceCategoryObsoleteCheckBoxResource1" />
                                                </div>
                                                <div class="fLeft pLeft5 pTop5">
                                                    <asp:Label ID="ServiceCategoryObsoleteLabel"
                                                        runat="server" Text="InActive"
                                                        meta:resourcekey="ServiceCategoryObsoleteLabelResource1"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="cBoth"></div>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/servicecategory-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/servicecategory-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
