<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="Clients_SH, MachSol.MachPanel.Web" enableeventvalidation="false" %>

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GetComments.ascx" TagName="GetComments" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/AccountStatment.ascx" TagName="AccountStatment" TagPrefix="EM" %>
<%@ Register Src="AccountAddons.ascx" TagName="AccountAddons" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GenerateInvoice.ascx" TagName="GenerateInvoice" TagPrefix="EM" %>

<%@ Register Src="../CC/Notes.ascx" TagName="Notes" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Hostmatic/CC/DNSZoneManagement.ascx" TagName="DNSManage" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Hostmatic/CC/MailDomain.ascx" TagName="MD" TagPrefix="EM" %>
<%@ Register Src="CC/SH.ascx" TagName="SH" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/HMResources.ascx" TagName="HMResources" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/PackageSwitch.ascx" TagName="PackageSwitch" TagPrefix="EM" %>
<%@ Register Src="~/Template/ResourcesQuota.ascx" TagName='ResourceQuota' TagPrefix='EM' %>
<%@ Register Src="~/RCC/Clients/CC/CancelSubscription.ascx" TagName="CancelSubscription" TagPrefix="EM" %>


<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>

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

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>
            <div class="body">
                <EM:TabContainer ID="TC_Hosting" 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;" />
                            <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%>      <%--Operations--%>                                                                                                                             
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_Manage" runat="server" Text="<%$ Resources:Content,L0086%>" />
                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_GenerateInvoice" runat="server" Text="<%$ Resources:Content,GN00001482%>" />
                                                <asp:Button class="btn btn-primary waves-effect" ID="Btn_Edit" Enabled="false" Visible="false" runat="server" Text="<%$ Resources:Content,GN00001487%>" />
                                                <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_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 class="btn btn-primary waves-effect btnAction" ID="Btn_Suspend" runat="server" Enabled="false" Text="<%$ Resources:Content,GN0000756%>" />
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <EM:SH ID="SH" runat="server" />
                                <EM:Notes ID="Notes_Account" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Resources" runat="server" HeaderText="<%$ Resources:Content,DEV1008%>">
                        <ContentTemplate>
                            <asp:Button CssClass="formButton formButtonNew" ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <div class="row Div_OpsRow" id="Tbl_Options" runat="server">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button class="btn btn-primary waves-effect" ID="Btn_EditResources" runat="server" Text="<%$ Resources:Content,SPT002193%>" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <EM:HMResources ID="HMResource" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_AddOns" runat="server" HeaderText="<%$ Resources:Content,GN00001489%>">
                        <ContentTemplate>
                            <asp:Button CssClass="formButton formButtonNew" 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_Billing" runat="server" HeaderText="<%$ Resources:Content,GN00001490%>">
                        <ContentTemplate>
                            <asp:Button CssClass="formButton formButtonNew" ID="Btn_Tab3" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                <EM:AccountStatment ID="AS_Hosting" runat="server"></EM:AccountStatment>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <%--Domains Tab Starts Here--%>
                    <EM:TabPanel ID="Tab_Domains" runat="server" HeaderText="<%$ Resources:Content,String288%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab4" runat="server" Style="display: none;" />
                            <%-- Domains--%>
                            <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                <asp:Panel runat="server" ID="Pnl_GridDomains">
                                    <div class="row">
                                        <div class="col-xs-12 Div_OpsRow" id="Tbl_Operations" runat="server">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN00001320%>      <%--Operations--%>
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <asp:Button ID="Btn_AddNewDomain" runat="server" Text="<%$ Resources:Content,DGN1110426%>" class="btn btn-primary waves-effect btnAction" />
                                                    <asp:HyperLink ID="Btn_AddDB" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,SPT002083%>" CausesValidation="false" Visible="false" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-xs-12">
                                            <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                ID="GV_Domains" runat="server" AutoGenerateColumns="false" AllowPaging="true">

                                                <Columns>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_Status" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,GN000125%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_Spacer" runat="server" />
                                                            <asp:HyperLink ID="LB_DomainName" runat="server"></asp:HyperLink>&nbsp;
                                                            <asp:LinkButton ID="LB_Browse" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,GN000174%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_Node" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,String42%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_SubDomains" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,L0058%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_DiskUsage" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                        <ItemTemplate>
                                                            <ul class="option-menu" id="Div_ManageSH" runat="server">
                                                                <li class="dropdown">
                                                                    <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                                        <i class="material-icons">menu</i>
                                                                    </a>
                                                                    <ul class="dropdown-menu pull-right">
                                                                        <li>
                                                                            <asp:LinkButton ID="LB_EditSize" Text='<%$ Resources:Content,GN0000276%>' CommandName="EditSize" runat="server" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.DomainID")%>' /></li>
                                                                        <li>
                                                                            <asp:HyperLink ID="LB_Manage" Text='<%$ Resources:Content,L0086%>' runat="server" /></li>
                                                                        <li>
                                                                            <asp:LinkButton ID="LB_Delete" CssClass="btnAction" Text='<%$ Resources:Content,GN0000377%>' CommandName="Remove" runat="server" /></li>
                                                                        <li>
                                                                            <asp:LinkButton ID="LB_AssignIP" CssClass="btnAction" Text="<%$ Resources:Content,SM00020%>" CommandName="Assign" runat="server" />
                                                                        </li>
                                                                        <li>
                                                                            <asp:LinkButton ID="LB_DeleteIP" CssClass="btnAction" Text="<%$ Resources:Content,SMI0364%>" CommandName="DeAllocate" runat="server" /></li>

                                                                        <EM:ConfirmButtonExtender ID="ConfirmButtonExtender1" ConfirmText="<%$ Resources:Content,DGN1119974%>"
                                                                            TargetControlID="LB_DeleteIP" runat="server">
                                                                        </EM:ConfirmButtonExtender>
                                                                        <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,CBE001%>"
                                                                            TargetControlID="LB_Delete" runat="server">
                                                                        </EM:ConfirmButtonExtender>
                                                                    </ul>
                                                                </li>
                                                            </ul>
                                                            <div id="Div_ManageDB" runat="server" visible="false">
                                                                <asp:HyperLink ID="LB_ManageDB" runat="server" Text="<%$ Resources:Content,manageDatabases%>" class="btn btn-primary waves-effect" />
                                                                <asp:HyperLink ID="LB_ManageODBCDSN" runat="server" Text="<%$ Resources:Content,manageODBCDSN%>" class="btn btn-primary waves-effect" />
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager1" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </asp:Panel>

                                <div class="row" id="Tbl_AddNewDomain" runat="server" visible="false">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3><%= Resources.Content.DGN1110426%></h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *<asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN000125%>"
                                                                EnableViewState="false" />:<label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_DomainName" MaxLength="128" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator3"
                                                                    ControlToValidate="TxBx_DomainName" ValidationGroup="addDomain" Display="None">
                                                                </asp:RequiredFieldValidator>
                                                                <%--<asp:RegularExpressionValidator ID="RE_Domains" runat="server" ErrorMessage='<%$Resources:Content,String195%>'
                                                                    SetFocusOnError="True" ControlToValidate="TxBx_DomainName" ValidationGroup="addDomain"
                                                                    ValidationExpression="<%$ Resources:Content,REV001 %>"
                                                                    Display="None"></asp:RegularExpressionValidator>--%>
                                                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_DomainName"
                                                                    FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars=".-">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12"></div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="LB_DomainSize" runat="server" Text="<%$ Resources:Content,String364%>"
                                                                EnableViewState="false" />:<label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_DomainSize" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12"></div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,L0057%>"
                                                                EnableViewState="false" />:<label>
                                                    </div>
                                                    <div class="col-sm-8 col-xs-12">
                                                        <asp:CheckBox ID="CB_Activatemail" runat="server" Text=" " />
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,L0056%>"
                                                                EnableViewState="false" />:<label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_HostingType" runat="server" AutoPostBack="true">
                                                                <asp:ListItem Text="<%$ Resources:Content,L0055%>" Value="1"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,L0054%>" Value="2"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12"></div>
                                                </div>
                                                <div class="row" id="Tr_URL" runat="server" visible="false">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,L0053%>"
                                                                EnableViewState="false" />:<label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ForwardToURL" runat="server" Text="http://"></asp:TextBox>
                                                                <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RFV_TxBx_ForwardToURL"
                                                                    ControlToValidate="TxBx_ForwardToURL" ValidationGroup="addDomain" Display="None"
                                                                    Enabled="false">
                                                                </asp:RequiredFieldValidator>
                                                                <asp:RegularExpressionValidator Display="none" ValidationExpression="^(ht|f)tp(s?)://?(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6})(:[0-9]{1,4})?((/?)|(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$"
                                                                    ValidationGroup="addDomain" ControlToValidate="TxBx_ForwardToURL" ID="REV_Txt_URL"
                                                                    runat="server" ErrorMessage='<%$ Resources:Content,String309%>'></asp:RegularExpressionValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12"></div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:Button ID="Btn_Save" runat="server" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="addDomain" class="btn btn-primary waves-effect btnAction" />
                                                        <asp:Button ID="Btn_CancelDomain" runat="server" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <asp:ValidationSummary ID="VS_DomailAliases" runat="server" HeaderText='<%$ Resources:Content, EM000001 %>'
                                    ShowMessageBox="True" ShowSummary="False" ValidationGroup="addDomain" />

                            </asp:Panel>

                        </ContentTemplate>
                    </EM:TabPanel>
                    <%--Domains Tab End Here--%>
                    <EM:TabPanel ID="Tab_MailDomains" runat="server" HeaderText="<%$ Resources:Content,L0050%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab5" runat="server" Style="display: none;" />
                            <%-- Mail Domains--%>
                            <asp:Panel ID="Pnl_TabContent5" runat="server" Visible="false">
                                <EM:MD ID="MD" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_DNSZone" runat="server" HeaderText="<%$ Resources:Content,L0084%>" Enabled="false">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab6" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                <div class="row">
                                    <EM:DNSManage ID="DNSManage" runat="server" />
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
                <%--</ContentTemplate>
    </ajax:UpdatePanel>--%>
            </div>
        </div>
    </div>

    <asp:Button ID="Btn_Dummy" Style="display: none" runat="server" />
    <%--<ajax:UpdatePanel ID="UP_Hosting" runat="server" UpdateMode="Conditional">
        <ContentTemplate>--%>
    <asp:Button ID="Btn_Dummy3" Style="display: none" runat="server" />
    <asp:Panel ID="Pnl_PackageSwitch" CssClass="width-modal-popup-auto" runat="server" Style="display: none">
        <EM:PackageSwitch runat="server" ID="PackageSwitch" OnPackageChange="PackageSwitchPopUpShow" />
    </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_Display" runat="server" Style="display: none;" />
    <asp:Panel ID="Panel_Res" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
        <EM:ResourceQuota runat="server" ID="ResourceQuotaView" />
    </asp:Panel>
    <EM:ModalPopupExtender runat="server" ID="MPE_Resource" BackgroundCssClass="modalBackground"
        PopupControlID="Panel_Res" TargetControlID="Btn_Display" DropShadow="false">
    </EM:ModalPopupExtender>

    <asp:Panel ID="Pnl_ProvisioningResult" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3><%= Resources.Content.String164%></h3>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-xs-12" id="Td_Message" runat="server">
                            <asp:Label ID="Lbl_ProvisioningResult" runat="server"></asp:Label>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button ID="Btn_OKProvisioningResult" runat="server" Text="<%$ Resources:Content,GN0000858%>" ValidationGroup="addDomain" class="btn btn-primary waves-effect" />
                            <asp:Button ID="Btn_DisplayProvisioningResult" runat="server" Style="display: none;" Text="<%$ Resources:Content,GN0000572%>" class="btn btn-primary waves-effect" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <EM:ModalPopupExtender runat="server" ID="MPE_ProvisioningResult" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="Pnl_ProvisioningResult" TargetControlID="Btn_DisplayProvisioningResult"
        OkControlID="Btn_OKProvisioningResult">
    </EM:ModalPopupExtender>

    <asp:Panel ID="Pnl_EditSize" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3><%= Resources.Content.Lync305%></h3>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-sm-5 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal207" runat="server" Text="<%$ Resources:Content,String364%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_DomainSizeEdit" runat="server" />
                                <asp:HiddenField ID="HF_DomainID" runat="server" />
                            </div>
                        </div>
                        <div class="col-sm-3 col-xs-12"></div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button ID="Btn_UpdateSize" runat="server" Text="<%$Resources:Content,GN0000654%>" class="btn btn-primary waves-effect btnAction" />
                            <asp:Button ID="Btn_CancelSize" runat="server" Text="<%$Resources:Content,GN0000572%>" class="btn btn-primary waves-effect" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Button ID="Button2" runat="server" Style="display: none;" />
    <asp:Button ID="Button3" runat="server" Style="display: none;" />
    <EM:ModalPopupExtender runat="server" ID="MPE_EditSize" BackgroundCssClass="modalBackground"
        PopupControlID="Pnl_EditSize" TargetControlID="Button2" DropShadow="false"
        OkControlID="Button3">
    </EM:ModalPopupExtender>

    <%--Suspend service modal window--%>
    <asp:Panel ID="Pnl_Reason" runat="server" CssClass="width-modal-popup-auto" Style="display: none">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <asp:Literal ID="Ltl_Reason" runat="server" Text='<%$ Resources:Content,DGN1110283%>'></asp:Literal>:
                    </h3>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal166" runat="server" Text="<%$ Resources:Content,DGN1110283%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-8 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_Reason" runat="server" AutoPostBack="true">
                                    <asp:ListItem Text="<%$ Resources:Content,SMI0345%>" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="<%$ Resources:Content,SMI0346%>" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="<%$ Resources:Content,SMI0347%>" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="<%$ Resources:Content,SMI0348%>" Value="3"></asp:ListItem>
                                    <asp:ListItem Text="<%$ Resources:Content,SM400021%>" Value="4"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,DGN1110283%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-8 col-xs-12">
                            <div class="form-group">
                                <asp:TextBox ID="TxBx_Reason" runat="server" MaxLength="500" Height="100px" TextMode="MultiLine"
                                    Width="100%"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button ID="Btn_SuspendNow" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,DGN1110276%>' />
                            <asp:Button ID="Btn_Cancel" class="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000572%>' />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Button ID="Btn_MessageDummy" runat="server" Style="display: none" Text="<%$ Resources:Content,GN0000575%>" />
    <EM:ModalPopupExtender runat="server" ID="MPE_Message" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="Pnl_Reason" TargetControlID="Btn_MessageDummy">
    </EM:ModalPopupExtender>

    <asp:Panel ID="Panel1" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
        <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>
    <ajax:UpdatePanel ID="UP_Inter" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Button 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>

    <asp:Button ID="Btn_Dummy2" Style="display: none" runat="server" />
    <asp:Panel ID="Panel2" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
        <EM:GenerateInvoice ID="GenerateInvoice" runat="server" />
    </asp:Panel>
    <EM:ModalPopupExtender runat="server" ID="MPE_Invoice" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="Panel2" TargetControlID="Btn_Dummy2">
    </EM:ModalPopupExtender>

    <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() {
            //  __doPostBack('ctl00$RightContentPlaceHolder$Btn_Pop_Cancel','');
            //      __doPostBack('ctl00$RightContentPlaceHolder$GV_TicketList$ctl02$LBtn_Del','')
        }

        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
    </script>
</asp:Content>
