<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Clients_OCS, MachSol.MachPanel.Web" title="Untitled Page" %>

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/PackageSwitch.ascx" TagName="PackageSwitch" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GetComments.ascx" TagName="GetComments" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/AccountStatment.ascx" TagName="AccountStatment" TagPrefix="EM" %>
<%@ Register Src="AccountAddons.ascx" TagName="AccountAddons" TagPrefix="EM" %>
<%@ Register Src="~/RCC/CC/Notes.ascx" TagName="Notes" TagPrefix="EM" %>
<%@ Register Src="CC/OCS.ascx" TagName="OCS" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/OCS_Resource.ascx" TagName="OCS_Resource" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GenerateInvoice.ascx" TagName="GenerateInvoice" TagPrefix="EM" %>
<%@ Register Src="~/Template/ResourcesQuota.ascx" TagName='ResourceQuota' TagPrefix='EM' %>
<%@ Register Src="~/RCC/Clients/CC/CancelSubscription.ascx" TagName="CancelSubscription" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">

    <ajax:UpdatePanel ID="UP_ExHosting" runat="server">
        <ContentTemplate>
            <asp:Button ID="Btn_Dummy" Style="display: none" runat="server" />
            <asp:Panel ID="Panel1" runat="server" CssClass="width-modal-popup-auto" Style="display: none">
                <EM:CancelSubscription ID="UCCancelSubscription" runat="server" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MP1" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel1" TargetControlID="Btn_Dummy">
            </EM:ModalPopupExtender>

            <%--Resource Quota Window Starts--%>
            <asp:Button ID="Btn_Dummy4" Style="display: none" runat="server" />
            <asp:Panel ID="Pnl_ResourceQuota" runat="server" Visible='false' CssClass="width-modal-popup-auto">
                <EM:ResourceQuota runat="server" ID="ResourceQuotaView" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_ResourceQuota" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_ResourceQuota" TargetControlID="Btn_Dummy4"
                Enabled='false'>
            </EM:ModalPopupExtender>
            <%--Resource Quota Window Ends--%>
            <asp:Button ID="Btn_Dummy3" Style="display: none" runat="server" />
            <asp:Panel ID="Pnl_PackageSwitch" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"><%= Resources.Content.L0082%></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_PackageSwitch.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <EM:PackageSwitch runat="server" ID="PackageSwitch" OnPackageChange="PackageSwitchPopUpShow" />

                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_PackageSwitch" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_PackageSwitch" TargetControlID="Btn_Dummy3">
            </EM:ModalPopupExtender>
            <asp:Button ID="Btn_Dummy2" Style="display: none" runat="server" />
            <asp:Panel ID="Panel2" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"><%= Resources.Content.SPT002768%></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_Invoice.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <EM:GenerateInvoice ID="GenerateInvoice" runat="server" />

                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_Invoice" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel2" TargetControlID="Btn_Dummy2">
            </EM:ModalPopupExtender>
            <asp:SqlDataSource runat="server" ID="SqlDS_ExOrganizationList"></asp:SqlDataSource>
            <div class="col-xs-12">
                <div class="card">
                    <div class="body">
                        <EM:TabContainer ID="TC_OCSHosting" runat="server" OnClientActiveTabChanged="loadTabPanel">

                            <EM:TabPanel ID="Tab_GeneralInfo" runat="server" HeaderText="<%$ Resources:Content,GN0000578%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <%-- #General Settings--%>
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN00001320%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <%--Style="display: none;"--%>
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_ManageService" runat="server" Text="<%$ Resources:Content,L0086%>" />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_UpGrade" runat="server" Text="<%$ Resources:Content,String302%>" />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_DownGrade" runat="server" Text="<%$ Resources:Content,String303%>" />
                                                        <asp:Button ID="Btn_PutOnHold" runat="server" class="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN0000756%>' />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_CancelSub" runat="server" Text="<%$ Resources:Content,SPT002010%>" />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_GenerateRenewalInvoice" runat="server" Text="<%$ Resources:Content,GN00001482%>" />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_Edit" Enabled="false" Visible="false" runat="server" Text="<%$ Resources:Content,GN00001487%>" />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_FixSG" runat="server" Text="<%$ Resources:Content,String174%>" Visible="false" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <EM:OCS ID="OCS" runat="server" />
                                        <EM:Notes ID="Notes_OCSAccount" runat="server" />

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Resources" runat="server" HeaderText="<%$ Resources:Content,DEV1008%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <div class="row Div_OpsRow" id="Tbl_Operations" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN00001320%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_EditResources" runat="server"
                                                            Text="<%$ Resources:Content,SPT002193%>" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <EM:OCS_Resource ID="OCS_Resources" runat="server" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Addons" runat="server" HeaderText="<%$ Resources:Content,GN00001489%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">

                                        <EM:AccountAddons ID="AA_Hosting" runat="server" />

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Organizations" runat="server" HeaderText="<%$ Resources:Content,DEV1156%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab3" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">

                                        <asp:GridView CssClass="table table-bordered table-hover table-responsive table-striped" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                            ID="GV_OCSOrganizations" AllowPaging="False" runat="server" AutoGenerateColumns="false">
                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,String385%>' HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_Status" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110608%>" HeaderStyle-CssClass="col-xs-7">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_OrgName" runat="server"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000636%>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Users" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="LB_Manage" SkinID="linkButtonmanage" runat="server" Text='<%$ Resources:Content,L0086%>'
                                                            CommandName="Org_Manage"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>

                                    <%--Add New Organization Form--%>
                                    <table class="tblNewListing" id="FS_AddnewOrg" runat="server" visible="false">
                                        <tr>
                                            <td class="Heading">
                                                <asp:Literal
                                                    ID="Literal111" runat="server" Text="<%$ Resources:Content,DGN0011115%>" EnableViewState="false"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <table id="Tbl_AddNewOrg1" runat="server" class="tblNewListing">
                                                    <tr id="Tr_OUs" runat="server" style="display: none">
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,String60%>"
                                                                EnableViewState="false" />
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DDL_OUs" AutoPostBack="true" runat="server">
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr id="Tr_OU" runat="server">
                                                        <td class="shade">*
                                                <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,DGN1110608%>"
                                                    EnableViewState="false" />
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TxBx_OrgName" runat="server" MaxLength="100"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RFV_OU" runat="server" ControlToValidate="TxBx_OrgName"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddOrg"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr id="TR_DomainName" runat="server">
                                                        <td class="shade">*
                                                <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN000125%>"
                                                    EnableViewState="false" />:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="100"></asp:TextBox>
                                                            <asp:Literal ID="Literal7" runat="server" Text="<%$Resources:Content,DEV1044%>" />
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_DomainName"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddOrg"></asp:RequiredFieldValidator>
                                                            <%--<asp:RegularExpressionValidator ID="RE_DomTra" runat="server" ErrorMessage='<%$Resources:Content,DGN1110154%>'
                                                                SetFocusOnError="True" ControlToValidate="TxBx_DomainName" ValidationGroup="AddOrg"
                                                                ValidationExpression="<%$ Resources:Content,REV001 %>"
                                                                Display="None"></asp:RegularExpressionValidator>--%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN0000878%>"
                                                                EnableViewState="false"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox runat="server" ID="TxBx_Address1"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001136%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TxBx_Address2" runat="server"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000880%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DDL_City" runat="server" AutoPostBack="true" Width="150px">
                                                                <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000643 %>' Value="-1"></asp:ListItem>
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="Rfv_City" runat="server" ControlToValidate="DDL_City"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddOrg" InitialValue="-1"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr id="Tr_States" runat="server">
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal16" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1130%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DDL_State" runat="server" AutoPostBack="true" Width="150px">
                                                                <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000643 %>' Value="-1"></asp:ListItem>
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="Rfv_State" runat="server" ControlToValidate="DDL_State"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddOrg" InitialValue="-1"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal17" runat="server" EnableViewState="false" Text="<%$ Resources:Content, GN00001522%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TxBx_Zip" runat="server"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal18" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000882%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DDL_Country" runat="server" AutoPostBack="true" Width="150px">
                                                                <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000643 %>' Value="-1"></asp:ListItem>
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="Rfv_Country" runat="server" ControlToValidate="DDL_Country"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddOrg" InitialValue="-1"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr id="Tr_PhoneNo" runat="server">
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1111%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DDL_PhoneNo" runat="server" Width="150px">
                                                                <asp:ListItem Selected="True" Text="<%$ Resources:Content,L0049%>" Value="-1"></asp:ListItem>
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="RFV_PhoneNo" runat="server" ControlToValidate="DDL_PhoneNo"
                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddOrg" InitialValue="-1"></asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="shade">
                                                            <asp:Literal ID="Literal19" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000597%>"></asp:Literal>:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TxBx_Description" runat="server" Columns="50" Rows="5" TextMode="MultiLine"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td></td>
                                                        <td>
                                                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText='<%$ Resources:Content, EM000001 %>'
                                                                ShowMessageBox="True" ShowSummary="False" ValidationGroup="AddOrg" />
                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" runat="server" ID="Btn_AddConfirm" SkinID="saveButton" Text="<%$ Resources:Content,GN0000281%>"
                                                                ValidationGroup="AddOrg" />
                                                            <asp:Button CssClass="btn btn-primary waves-effect" runat="server" ID="Btn_AddCancel" Text="<%$ Resources:Content,GN0000572%>"
                                                                SkinID="cancelButton" CausesValidation="false" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Billing" runat="server" HeaderText="<%$ Resources:Content,GN00001490%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab4" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                        <EM:AccountStatment ID="AS_Hosting" runat="server"></EM:AccountStatment>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>

                        </EM:TabContainer>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </ajax:UpdatePanel>

    <ajax:UpdatePanel ID="UP_Resources" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <asp:Panel ID="Pnl_Resources" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <table class="col-xs-12">
            <tr class="row">
                <td class="col-xs-12">
                            <asp:Label ID="Lbl_ResourceError" runat="server" ForeColor="red" Font-Bold="true" Visible="false"></asp:Label>
                        </td>
                    </tr>
                    <tr class="row">
                <td class="col-xs-12">
                            <asp:GridView ID="GV_Resources" runat="server" AllowPaging="true" CssClass="table table-bordered table-striped table-hover"
                                AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>"
                                PageSize="500">
                                <AlternatingRowStyle CssClass="altRow" />
                                <Columns>
                                    <asp:TemplateField HeaderText="<%$Resources:Content,DEV1008%>" HeaderStyle-CssClass="col-xs-3">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_ResourceID" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$Resources:Content,DEV1002%>" HeaderStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_TotalResources" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$Resources:Content,DEV1003%>" HeaderStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_UsedResources" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$Resources:Content,DEV1004%>" HeaderStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_AvailableResources" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="<%$Resources:Content,DEV1005%>" HeaderStyle-CssClass="col-xs-3">
                                        <ItemTemplate>
                                            <asp:Label ID="Lbl_RequestedResources" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr class="row">
                <td class="col-xs-12">
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Done" runat="server" Text="<%$ Resources:Content,GN0000858%>" SkinID="okbutton" />
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Display" runat="server" Style="display: none;" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_Resource" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_Resources" TargetControlID="Btn_Display"
                OkControlID="Btn_Done">
            </EM:ModalPopupExtender>
        </ContentTemplate>
    </ajax:UpdatePanel>
    <ajax:UpdatePanel ID="UP_Inter" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Button CssClass="btn btn-primary waves-effect" ID="Button1" Style="display: none" runat="server" />
            <asp:Panel ID="Panel3" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <EM:GetComments ID="GetComments" runat="server" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_GetReason" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel3" TargetControlID="Button1">
            </EM:ModalPopupExtender>
        </ContentTemplate>
    </ajax:UpdatePanel>

    <script type="text/javascript">
        function onOk() {
            if (document.getElementById('ctl00_CPH_Content_TxBx_ItemComments').value != '') {
                __doPostBack('ctl00$CPH_Content$Btn_Pop_OK', '');
            }
            else {
                alert("Please enter comments.");
                $find('ctl00_CPH_Content_MP1').show();
            }

        }
        function onCancel() {
        }

    </script>

</asp:Content>
