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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Src="~/RCC/O365/CC/CSP3rdPartyProducts.ascx" TagName="CSPProd" TagPrefix="UC" %>
<%@ Register Src="~/RCC/O365/CC/OfferNameAndDescription.ascx" TagName="OfferNameAndDescription" TagPrefix="UC" %>

<%@ Register TagPrefix="cc1" Namespace="System.Web.UI" Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
<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_CustomerInfo" runat="server" /></h2>
            </div>--%>
            <div class="body">
                <EM:TabContainer ID="TC_CSP" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_Profiles" runat="server" HeaderText="<%$ Resources:Content,strMicroSoftCSPProfiles %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                                <div class="row">
                                    <asp:Panel ID="Pnl_CSPProfileOperation" runat="server" class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID='Ltrl_CSPProfOpsHeading' runat="server" Text='<%$ Resources:Content,GN00001320%>'></asp:Literal></h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="Btn_AddCSPProfiles" class="btn btn-primary waves-effect btnAction" runat="server"
                                                    Text='<%$ Resources:Content,strAddCSPProfile %>' />
                                                <asp:Button ID="Btn_UseMachSolAccount" class="btn btn-primary waves-effect btnAction" runat="server"
                                                    Text='<%$ Resources:Content,MachUseMachSolCSP %>' Visible="false" />
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="Pnl_CSPProfileListing" runat="server" CssClass="col-xs-12 m-t-10">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h2>
                                                            <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content,DirectPartner %>' /></h2>
                                                    </div>
                                                    <div class="body">
                                                        <EM:MPGridView ID="GV_CSPProfiles" CurrentSortExpression="CSPProfiles" CurrentSortDirection="Asc"
                                                            CssClass="table table-bordered table-striped table-hover" runat="server" AllowPaging="false" AllowSorting="false" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                            AutoGenerateColumns="false" DataKeyNames='CSPProfileID,CSPRegionID'>

                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, L00193 %>" HeaderStyle-CssClass="col-xs-5" ItemStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblProfileName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ProfileName")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, Lync362 %>" HeaderStyle-CssClass="col-xs-5" ItemStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblRegionName" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,strWebAppDomain %>" HeaderStyle-CssClass="col-xs-3 hide" ItemStyle-CssClass="col-xs-3 hide">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblWebAppDomain" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.WebAppDomain")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <%-- <asp:TemplateField HeaderText="<%$ Resources:Content,USM0061 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblUserName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.UserName")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>--%>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <ul class="option-menu">
                                                                            <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 CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="LB_Edit" CommandName="EditProfile" runat="server" Text="<%$ Resources:Content,GN0000276%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="Lbtn_Offers" CommandName="Offers" runat="server" Text="<%$ Resources:Content,strOffers%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="Lbtn_3rdPartyProds" CommandName="3rdPartyProds" runat="server" Text="<%$ Resources:Content,Str3rdPartyProds%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="LB_TestProfile" CommandName="TestProfile" runat="server" Text="<%$ Resources:Content,DGN1110046%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="LB_Remove" CssClass="btnAction" CommandName="Remove" runat="server" Text="<%$ Resources:Content,GN0000278%>" CausesValidation="false" /></li>
                                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,String1040%>" TargetControlID="LB_Remove" runat="server">
                                                                                    </EM:ConfirmButtonExtender>
                                                                                </ul>
                                                                            </li>
                                                                        </ul>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start--%>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager" runat="server" />
                                                            </PagerTemplate>
                                                            <%--PagerTemplate End--%>
                                                        </EM:MPGridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h2>
                                                            <asp:Literal ID="Literal17" runat="server" Text='<%$ Resources:Content,InDirectPartner %>' /></h2>
                                                    </div>
                                                    <div class="body">
                                                        <EM:MPGridView ID="Gv_CSPProfiles_Indirect"
                                                            CssClass="table table-bordered table-striped table-hover" runat="server" AllowPaging="false" AllowSorting="false" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                            AutoGenerateColumns="false" DataKeyNames='CSPProfileID,CSPRegionID'>

                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, L00193 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblProfileName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ProfileName")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, Distributor %>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblDistributor" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,AuthEndPoint %>" Visible="false" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblAuthEndPoint" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,APIEndPoint %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblAPIEndPoint" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,String244 %>" Visible="false" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="lblResellerId" 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">
                                                                            <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_Edit" CommandName="EditProfile" runat="server" Text="<%$ Resources:Content,GN0000276%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="Lbtn_Offers" CommandName="Offers" runat="server" Text="<%$ Resources:Content,strOffers%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' ID="Lbtn_3rdPartyProds" CommandName="3rdPartyProds" runat="server" Text="<%$ Resources:Content,Str3rdPartyProds%>" CausesValidation="false" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton ID="LB_TestProfile" CommandName="TestProfile" runat="server" Text="<%$ Resources:Content,DGN1110046%>" CausesValidation="false" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton ID="LB_Remove" CommandName="Remove" runat="server" Text="<%$ Resources:Content,GN0000278%>" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CSPProfileID")%>' CausesValidation="false" CssClass="btnAction" /></li>
                                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,String1040%>" TargetControlID="LB_Remove" runat="server">
                                                                                    </EM:ConfirmButtonExtender>
                                                                                </ul>
                                                                            </li>
                                                                        </ul>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start--%>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager" runat="server" />
                                                            </PagerTemplate>
                                                            <%--PagerTemplate End--%>
                                                        </EM:MPGridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="Pnl_AddProfile" DefaultButton="Btn_Save" CssClass="col-xs-12" runat="server" Visible="false">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <div class="row m-b--10">
                                                        <div class="col-xs-12">
                                                            <span class="pull-left">
                                                                <asp:Literal ID='Literal2' runat="server" Text='<%$ Resources:Content,ProfileDetail%>'></asp:Literal>
                                                            </span>
                                                            <span class="pull-right" id="Span_DirectPartnerHelpLink" runat="server">
                                                                <asp:HyperLink ID="hl_csp_profile_help_link" runat="server" NavigateUrl="https://kb.machsol.com/Knowledgebase/55722/PreRequisites-and-PowerShell-Modules-Required-for-CSP-Management-in-MachPanel" Target="_blank" Text="<%$ Resources:Content,CSPProfileManageHelpLink %>"></asp:HyperLink>
                                                            </span>
                                                        </div>
                                                    </div>
                                                </h3>
                                            </div>
                                            <div class="body">


                                                <!-- Content of Pnl_AddProfile -->

                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <div class="form-group">
                                                            <asp:RadioButtonList ID="Rbl_SelectPartners" runat="server" RepeatDirection="Horizontal" AutoPostBack="true">
                                                                <asp:ListItem Text="<%$ Resources:Content,DirectPartner%>" Value="0" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="<%$ Resources:Content,IndirectPartner%>" Value="1"></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,L00193%>" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="txtProfileName" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtProfileName"
                                                                    Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-5 col-xs-12" id="Div_FieldToHideForIndirectPartner2" runat="server">
                                                        <asp:LinkButton Visible="false" ID="LB_HowTo" runat="server" Text="<%$ Resources:Content,HowToCSP %>" />
                                                    </div>
                                                </div>
                                                <div class="row" id="Div_Distributors" runat="server" visible="false">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        *
                                                        <asp:Literal ID="Literal12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Distributor%>" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_DistributorId" runat="server"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,strSelltolocation%>" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="ddlCSPRegions" runat="server"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,strAzureEnvironment%>" />:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_AzureEnvironment" runat="server" onChange="toggleGraphPowerShellSettings()"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                
                                            </div>
                                            <div class="card" id="Div_TenantManagement" runat="server">
                                                    <div class="header">
                                                        <h3>
                                                            <div class="row m-b--10">
                                                                <div class="col-xs-12">
                                                                    <span class="pull-left">
                                                                        <asp:Literal ID='Literal50' runat="server" Text='<%$ Resources:Content,PartnerCenterManag%>'></asp:Literal>
                                                                    </span>
                                                                    <span class="pull-right">
                                                                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="https://kb.machsol.com/Knowledgebase/55721/Azure-App-Configuration-for-Partner-Center-Management" Target="_blank" Text="<%$ Resources:Content,CSPAzureAppConfigHelpLink %>"></asp:HyperLink>
                                                                    </span>
                                                                </div>
                                                            </div>
                                                        </h3>
                                                    </div>

                                                    <div class="body">
                                                        <div id="Div_FieldToHideForIndirectPartner" runat="server">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,GN00001527%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Locale" runat="server">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,strPartnerServiceApiEndpoint%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtPartnerServiceApiEndpoint" runat="server" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPartnerServiceApiEndpoint"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="ltlDomainSuffix" runat="server" Text="<%$ Resources:Content,strDomainSuffix%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtDomainSuffix" runat="server" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txtDomainSuffix"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,strAuthenticationAuthorityEndpoint%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtAuthenticationAuthorityEndpoint" runat="server" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtAuthenticationAuthorityEndpoint"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:Content,strPartnerServiceApiEndpoint%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtGraphEndpoint" runat="server" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtGraphEndpoint"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,strCommonDomain%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtCommonDomain" runat="server" Text="common" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtCommonDomain"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" style="display: none;">
                                                                <div class="col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal16" runat="server" Text="For below settings refer to https://partnercenter.microsoft.com/en-us/pcv/apiintegration/appmanagement" />:
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,TenantIDCSPPart%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_TenantId" runat="server" Text="" MaxLength="40" onChange="toggleGraphPowerShellSettings()"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_TenantId" runat="server" ControlToValidate="TxBx_TenantId"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,AzureAppId%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtWebAppId" runat="server" Text="" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtWebAppId"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,AzureAppSecret%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtWebAppSecret" runat="server" Text="" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_WebAppSecret" runat="server" ControlToValidate="txtWebAppSecret"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-5 col-xs-12">
                                                                    <asp:Literal ID="Ltr_CSPSecret" runat="server" Visible="false" Text="<%$ Resources:Content,GN00001530%>" />
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="Div_WebAppDomain" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,strWebAppDomain%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtWebAppDomain" runat="server" Text="" MaxLength="500" onChange="toggleGraphPowerShellSettings()"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtWebAppDomain"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,strPartnerAPIServiceUrl%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtPartnerAPIServiceUrl" runat="server" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtPartnerAPIServiceUrl"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,strRedirectUrl%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtRedirectUrl" runat="server" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtRedirectUrl"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" runat="server" id="Div_NativeAppId" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,strNativeAppId%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtNativeAppId" runat="server" Text="" MaxLength="500"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNativeAppId"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,SMI0574%>" /></label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtUserName" runat="server" onChange="toggleGraphPowerShellSettings()"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUserName"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        *
                                                                        <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,RefreshToken%>" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtRefreshToken" runat="server" MaxLength="4000" TextMode="MultiLine" Rows="5"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFVRefreshToken" runat="server" ControlToValidate="txtRefreshToken"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-5 col-xs-12">
                                                                    <asp:Literal ID="ltrPasswordmsg" runat="server" Visible="false" Text="<%$ Resources:Content,GN00001530%>" />
                                                                </div>
                                                            </div>

                                                        </div>
                                                    </div>
                                                </div>
                                                <br />
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <div class="row m-b--10">
                                                            <div class="col-xs-12">
                                                                <span class="pull-left">
                                                                    <asp:Literal ID='Literal44' runat="server" Text='<%$ Resources:Content,TenantManagement%>'></asp:Literal>
                                                                </span>
                                                                <span class="pull-right">
                                                                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="https://kb.machsol.com/Knowledgebase/55720/Azure-App-Configuration-for-Tenant-Management" Target="_blank" Text="<%$ Resources:Content,AzureAppConfigTenantManageHelpLink%>"></asp:HyperLink>
                                                                </span>
                                                            </div>
                                                        </div>
                                                    </h3>
                                                    
                                                </div>
                                                <div class="body">
                                                    <asp:Panel ID="Pnl_MPManagement" runat="server">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *
                                                                            <asp:Literal ID="Ltrl_MPManagementAppId" runat="server" Text="<%$ Resources:Content, AzureAppId %>" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MPManagementAppId" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_MPManagementAppId" runat="server" ControlToValidate="TxBx_MPManagementAppId"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12 hide">
                                                                <asp:HyperLink ID="HL_MPManagementAppHelp" runat="server" Text="Set up app-only authentication for EXO" NavigateUrl="https://docs.microsoft.com/en-us/powershell/exchange/app-only-auth-powershell-v2?view=exchange-ps#set-up-app-only-authentication" Target="_blank" />
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *
                                                                            <asp:Literal ID="Ltrl_MPManagementCertThumbprint" runat="server" Text="<%$ Resources:Content, AzureAppCertificateThumbprint %>" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MPManagementAppCertThumbprint" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_MPManagementCertThumbprint" runat="server" ControlToValidate="TxBx_MPManagementAppCertThumbprint"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">
                                                                <asp:Literal ID="Ltr_ManagementCert" runat="server" Visible="false" Text="<%$ Resources:Content,GN00001530%>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *
                                                                            <asp:Literal ID="Ltrl_MPManagementSecret" runat="server" Text="<%$ Resources:Content,AzureAppSecret %>" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MPManagementAppSecret" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_MPManagementAppSecret" runat="server" ControlToValidate="TxBx_MPManagementAppSecret"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-5 col-xs-12">
                                                                <asp:Literal ID="Ltr_ManagementSecret" runat="server" Visible="false" Text="<%$ Resources:Content,GN00001530%>" />
                                                            </div>
                                                        </div>


                                                        <div class="row" id="Div_EnableDRForTeams" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal26" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strEnableDRForTeams%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox ID="ChBx_EnableDRForTeams" Text=" " runat="server" AutoPostBack="true"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>



                                                        <div class="row" id="Div_BaseFQDNOfProviderSBC" runat="server" visible="false">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                                                <asp:Literal ID="Literal35" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strBaseFQDNOfProviderSBC%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_BaseFQDNOfProviderSBC" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_BaseFQDNOfProviderSBC" Enabled="false" runat="server" ControlToValidate="TxBx_BaseFQDNOfProviderSBC"
                                                                            Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row" id="Div_BaseFQDNOfProviderSBCMsg" runat="server" visible="false">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:Literal ID="Literal36" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strBaseFQDNOfProviderSBCMsg%>" />
                                                            </div>
                                                        </div>

                                                        <div class="row" id="Div_DerivedTrunk" runat="server" visible="false">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <%--<asp:Literal ID="Literal38" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strTrunk%>" />:--%>
                                                                <div class="form-group">
                                                                    <%--<asp:RadioButtonList ID="rdbDedicatedTrunk" runat="server" RepeatDirection="Horizontal">--%>
                                                                    <asp:RadioButton ID="rdbDedicatedTrunk" GroupName="rdbTrunk" runat="server" Text="<%$ Resources:Content,strDedicatedTrunk%>" Checked="True"></asp:RadioButton>
                                                                    <asp:RadioButton ID="rdbDerivedTrunk" GroupName="rdbTrunk" runat="server" Text="<%$ Resources:Content,strDerivedTrunk%>"></asp:RadioButton>
                                                                    <%--</asp:RadioButtonList>--%>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                            <br />


                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                        ValidationGroup="CSPProfileValidation" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                    <asp:Button ID="Btn_Save" ValidationGroup="CSPProfileValidation" CausesValidation="true"
                                                        class="btn btn-primary waves-effect btnAction" runat="server" Text="<%$ Resources:Content,GN0000281%>" />
                                                    <asp:Button ID="BtnCancel" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                                                </div>
                                            </div>

                                            <asp:Panel ID="Pnl_CSP" CssClass="width-modal-popup-auto" runat="server" Style="display: none;">
                                                <div class="card">
                                                    <div class="header container-fluid">
                                                        <h3 class="pull-left"><%= Resources.Content.HowToCSP %></h3>
                                                        <span>
                                                            <button type="button" class="close" onclick="$find('<%=MPE_CSP.ClientID%>').hide();">&times;</button>
                                                        </span>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <ol class="list-group">
                                                                    <li class="list-group-item"><span class="badge pull-left">1</span>&nbsp;Login to <a href="https://partner.microsoft.com" target="_blank"><b>Microsoft Partner Center</b></a> and navigate to <b>User Management</b> > <b>User Details</b> > <b>Roles and permissions</b>.</li>
                                                                    <li class="list-group-item"><span class="badge pull-left">2</span>&nbsp;For CSP Service Account following <b>Roles and permissions</b> are required:</li>
                                                                    <li class="list-group-item">
                                                                        <ul>
                                                                            <li class="list-group-item"><span class="badge pull-left">2.a</span>&nbsp;Manages your organizations account as: <b>Global Admin</b></li>
                                                                            <li class="list-group-item"><span class="badge pull-left">2.b</span>&nbsp;Following options should be checked: <b>Business profile admin</b>, <b>Referrals admin</b></li>
                                                                            <li class="list-group-item"><span class="badge pull-left">2.c</span>&nbsp;Assists your customer as : <b>Admin Agent</b></li>
                                                                        </ul>
                                                                    </li>
                                                                    <li class="list-group-item"><span class="badge pull-left">3</span>&nbsp;Login to Azure : <a href="https://azure.microsoft.com/en-us/account/" target="_blank">https://azure.microsoft.com/en-us/account/</a></li>
                                                                    <li class="list-group-item">
                                                                        <ul>
                                                                            <li class="list-group-item"><span class="badge pull-left">3.a</span>&nbsp;<b>Step 1</b>: Select <b>Azure Active directory</b>.</li>
                                                                            <li class="list-group-item"><span class="badge pull-left">3.b</span>&nbsp;<b>Step 2</b>: Click on <b>App Registration</b>.</li>
                                                                            <li class="list-group-item"><span class="badge pull-left">3.c</span>&nbsp;<b>Step 3</b>: Search for Partner Center Change filter to <b>All apps.</b></li>
                                                                        </ul>
                                                                    </li>
                                                                    <li class="list-group-item"><span class="badge pull-left">4</span>&nbsp;To Add/Grant required permissions navigate to <b>Partner Center Native App</b> > <b>Settings</b> > <b>Required Permissions</b></li>
                                                                    <li class="list-group-item"><span class="badge pull-left">5</span>&nbsp;Select "Microsoft Partner Center" first and enable access.</li>
                                                                    <li class="list-group-item"><span class="badge pull-left">6</span>&nbsp;Enable Access for Microsoft Partner Center.</li>
                                                                    <li class="list-group-item"><span class="badge pull-left">7</span>&nbsp;Enable Access for Windows Azure Active Directory.</li>
                                                                    <li class="list-group-item"><span class="badge pull-left">8</span>&nbsp;Now select "Windows Azure Active Directory" under <b>Partner Center Native App</b> > <b>Settings</b> > <b>Required Permissions</b>.</li>
                                                                    <li class="list-group-item"><span class="badge pull-left">9</span>&nbsp;Enable Access for Windows Azure Active Directory (Application Permissions).</li>
                                                                    <li class="list-group-item"><span class="badge pull-left">10</span>&nbsp;Click <b>Yes</b> to grant the permissions.</li>

                                                                </ol>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_Close" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN000150 %>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <EM:ModalPopupExtender runat="server" ID="MPE_CSP" OkControlID="Btn_Close"
                                                CancelControlID="Btn_Close" BackgroundCssClass="modalBackground" DropShadow="false"
                                                PopupControlID="Pnl_CSP" TargetControlID="LB_HowTo">
                                            </EM:ModalPopupExtender>

                                        </div>
                                </div>
                            </asp:Panel>

                            <asp:Panel ID="Pnl_UseMachSolProfile" class="col-xs-12" runat="server" Visible="false">
                                <div class="row">
                                    <div class="col-xs-12 row-label">
                                        <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,MachEnterAPICredentials%>" />:
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>
                                            *
                                                    <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,APILogin%>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_APILogin" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="TxBx_APILogin"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="CSPMachSolProfile"></asp:RequiredFieldValidator>
                                               <%-- <asp:RegularExpressionValidator ID="REV" runat="server" ControlToValidate="TxBx_APILogin"
                                                    Display="None" SetFocusOnError="true" ValidationGroup="CSPMachSolProfile"
                                                    ValidationExpression="<%$ Resources:MPRegex,EmailAddress%>" ErrorMessage="<%$ Resources:Content,SMI00940%>"></asp:RegularExpressionValidator>--%>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>
                                            *
                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,Dev611%>" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_APIKey" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="TxBx_APIKey"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="CSPMachSolProfile"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
                                            ValidationGroup="CSPMachSolProfile" HeaderText="<%$ Resources:Content,EM000001%>" />
                                        <asp:Button ID="Btn_SaveMachSolProfile" ValidationGroup="CSPMachSolProfile" CausesValidation="true"
                                            class="btn btn-primary waves-effect btnAction" runat="server" Text="<%$ Resources:Content,GN0000281%>" />
                                        <asp:Button ID="Btn_Cancel" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                                    </div>
                                </div>
                            </asp:Panel>
                            </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Offers" Enabled="false" runat="server" HeaderText="<%$ Resources:Content,strOffers %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false" DefaultButton="Btn_SearchOffers">
                                <div class="row">
                                    <asp:Panel ID="Pnl_Search" runat="server" CssClass="col-xs-12" DefaultButton="Btn_SearchOffers">
                                        <div class="panel-group search-panel" id="div-offers-search-panel" role="tablist" aria-multiselectable="true">
                                            <div role="tab" id="div-search-tab-header">
                                                <div class="card">
                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#div-offers-search-panel"
                                                        href="#div-search-tab-body" aria-expanded="true" aria-controls="div-search-tab-header">
                                                        <h3>
                                                            <%= Resources.Content.GN0000395%>
                                                        </h3>
                                                    </div>
                                                    <div id="div-search-tab-body" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="div-search-tab-header" aria-expanded="false">
                                                        <div class="row">
                                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_Owner">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="Ddl_SearchOfferProfiles" runat="server" AutoPostBack="true" OnSelectedIndexChanged="Ddl_SearchOfferProfiles_SelectedIndexChanged"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="Ddl_SearchOfferCountries" runat="server" AutoPostBack="true" OnSelectedIndexChanged="Ddl_SearchOfferCountries_SelectedIndexChanged"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="Ddl_SearchOfferLocales" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_SearchOffers" runat="server" onKeyUp='filterCSPOffers(this)'></asp:TextBox>
                                                                        <asp:Label ID="Lbl_SearchOfferTitle" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strOfferName%>" class="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:Button ID="Btn_SearchOffers" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <div class="col-xs-12 m-t--10">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID="Ltrl_OfferOps" runat='server' Text='<%$ Resources:Content,GN00001320%>'></asp:Literal></h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button ID="Btn_SyncOffers" class="btn btn-primary waves-effect btnAction" runat="server"
                                                    Text='<%$ Resources:Content,strSyncOffersFromO365%>' />
                                            </div>
                                        </div>
                                    </div>

                                    <script lang="javascript">
                                        $(function () {
                                            $("div.cat-tab-container .cat-tab-menu .list-group .list-group-item").first().addClass('active');
                                            $("div.cat-tab-container .cat-tab .cat-tab-content").first().addClass('active');
                                            $("div.cat-tab-menu>div.list-group>a").click(function (e) {
                                                e.preventDefault();
                                                $(this).siblings('a.active').removeClass("active");
                                                $(this).addClass("active");
                                                var index = $(this).index();
                                                $("div.cat-tab>div.cat-tab-content").removeClass("active");
                                                $("div.cat-tab>div.cat-tab-content").eq(index).addClass("active");
                                            });

                                            $('.sscroll-div').slimScroll({
                                                height: '350px',
                                                size: '6px',
                                                alwaysVisible: true,
                                                borderRadius: '3',
                                                railBorderRadius: '3',
                                                railVisible: true
                                            });
                                        });
                                    </script>

                                    <div class="col-xs-12 m-t-10" id="Div_Offers" runat="server">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID="Ltrl_OffersAddOnsHeader" runat="server" Text="<%$ Resources:Content,strOfferAddons %>"></asp:Literal>
                                                </h3>
                                            </div>
                                            <div class="body" style="padding: 0px 0px 0px 2px">

                                                <div class="cat-tab-container m-t-5">
                                                    <div class="row">
                                                        <div class="col-xs-3 col-md-2 cat-tab-menu">
                                                            <div class="list-group">
                                                                <asp:Repeater ID="Rep_OfferCatHeadings" runat="server">
                                                                    <ItemTemplate>
                                                                        <a href="javascript:void(0);" class="list-group-item"><%# Eval("MSCategoryName")%></a>
                                                                    </ItemTemplate>
                                                                </asp:Repeater>
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-9 col-md-10 cat-tab">
                                                            <asp:Repeater ID="Rep_OfferCatContent" runat="server">
                                                                <ItemTemplate>
                                                                    <div class="cat-tab-content">
                                                                        <asp:HiddenField ID="HF_OfferCategoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                                                        <div class="sscroll-div">
                                                                            <asp:Repeater ID="Rep_Offers" runat="server" OnItemDataBound="Rep_Offers_ItemDataBound">
                                                                                <ItemTemplate>
                                                                                    <div class="search-js-offer-row">
                                                                                        <div class="col-xs-10 row-label m-t-5">
                                                                                            <asp:HiddenField ID="HF_OfferID" runat="server" />
                                                                                            <asp:HiddenField ID="HF_MSOfferID" runat="server" />
                                                                                            <asp:HiddenField ID="HF_MSOfferName" runat="server" />
                                                                                            <asp:HiddenField ID="HF_MSOfferDescription" runat="server" />
                                                                                            <div class="form-group">
                                                                                                <div class="form-float form-line">
                                                                                                    <asp:TextBox ID="TxBx_CustomOfferName" CssClass="search-js-offer-text" runat="server" />
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                        <div class="col-xs-10 row-label m-t-5">
                                                                                            <asp:TextBox ID="TxBx_CustomOfferDescription" runat="server" TextMode="MultiLine" Rows="3" />
                                                                                        </div>
                                                                                    </div>
                                                                                </ItemTemplate>
                                                                            </asp:Repeater>
                                                                        </div>
                                                                    </div>
                                                                </ItemTemplate>
                                                            </asp:Repeater>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="m-t-10 col-xs-offset-3 col-xs-9">
                                                            <asp:Button ID="Btn_UpdateOfferNamesAndDescriptions" runat="server" Text="<%$Resources:Content, GN0000281%>"
                                                                CssClass="btn btn-primary btnAction" />&nbsp;
                                    <asp:Button ID="Btn_CancelOfferNameUpdate" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>'
                                        CssClass="btn btn-primary" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_OffersPrice" runat="server" HeaderText="<%$ Resources:Content,CSPOffersPrice %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false" DefaultButton="Btn_SearchOffersPrice">
                                <div class="row">
                                    <div id="Div_Listing" runat="server">
                                        <div class="col-xs-12">
                                            <div class="panel-group search-panel" id="div-offerprices-search-panel" role="tablist" aria-multiselectable="true">
                                                <div role="tab" id="div-search-tab-headerprice">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#div-offerprices-search-panel"
                                                            href="#div-search-tab-bodyprice" aria-expanded="true" aria-controls="div-search-tab-headerprice">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="div-search-tab-bodyprice" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="div-search-tab-headerprice" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_CSPProfilesOfferPrice" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_PaymentGroupOfferPrice" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_OfferName" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strOfferName%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="col-xs-12 col-sm-5 col-md-4">
                                                                        <label class="row-label display-date-label">
                                                                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN0000687%>" EnableViewState="false" />:
                                                                        </label>
                                                                        <div class="form-group display-date-input">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_DRangeAfter" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <i runat="server" id="A_DRangeAfter" class="material-icons icon-calendar col-calendar"></i>
                                                                        <EM:CalendarExtender ID="CE_DRangeAfter" runat="server" TargetControlID="TxBx_DRangeAfter"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_DRangeAfter" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </div>
                                                                    <div class="col-xs-12 col-sm-5 col-md-4">
                                                                        <label class="row-label display-date-label">
                                                                            <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN0000688%>" EnableViewState="false" />:
                                                                        </label>
                                                                        <div class="form-group display-date-input">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_DRangeBefore" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <i runat="server" id="A_DRangeBefore" class="material-icons icon-calendar col-calendar"></i>
                                                                        <EM:CalendarExtender ID="CE_DRangeBefore" runat="server" TargetControlID="TxBx_DRangeBefore"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_DRangeBefore" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:Button ID="Btn_SearchOffersPrice" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                        <asp:Button ID="Btn_ClearOffersPrice" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,String289%>" Visible="false" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-xs-12">
                                            <div class="card Div_OpsRow" id="Div_OpsRow" runat="server">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN00001320%>                                                                                                                                 
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <asp:Button ID="Btn_AddOfferPrice" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,AddOffersPriceListing%>" />
                                                </div>
                                            </div>
                                            <br />
                                            <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                ID="GV_OfferPrices" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False"
                                                DataKeyNames="PriceRecordId,CSPProfileId,PGId,CycleId">
                                                <Columns>
                                                    <asp:TemplateField SortExpression="DateStamp" HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, GN0000763 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_DateStamp" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2 break-word-all" HeaderText='<%$ Resources:Content, L00193 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_ProfileName" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, ProfitToAdd %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_ProfitToAdd" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, UpdateExistingPackages %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_UpdateExistingPackages" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-1" ItemStyle-CssClass="col-sm-1" HeaderText='<%$ Resources:Content, GN00001473 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_BillingCycle" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, GN0000831 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_PaymentGroup" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LB_Details" Text="<%$ Resources:Content,strDetails%>" class="btn btn-primary waves-effect"
                                                                CommandArgument='<%#DataBinder.Eval(Container, "DataItem.PriceRecordId")%>' CommandName="strDetails" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager2" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>
                                        </div>
                                    </div>

                                    <div class="col-xs-12" id="Div_OfferPriceDetails" runat="server" visible="false">
                                        <div class="card">
                                            <div class="header">
                                                <div class="displayInlineBlock">
                                                    <h3>
                                                        <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h3>
                                                </div>
                                                <asp:LinkButton ID="Btn_GoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                    class="btn btn-primary waves-effect pull-right m-t--4px" />
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <asp:Panel ID="Pnl_Btn_SearchOffersdetail" runat="server" CssClass="col-xs-12" DefaultButton="Btn_SearchOffersdetail">
                                                        <div class="panel-group search-panel" id="div-offerdetail-search-panel" role="tablist" aria-multiselectable="true">
                                                            <div role="tab" id="div-search-tab-headerdetail">
                                                                <div class="card">
                                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#div-offerdetail-search-panel"
                                                                        href="#div-search-tab-bodydetail" aria-expanded="true" aria-controls="div-search-tab-headerdetail">
                                                                        <h3>
                                                                            <%= Resources.Content.GN0000395%>
                                                                        </h3>
                                                                    </div>
                                                                    <div id="div-search-tab-bodydetail" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="div-search-tab-headerdetail" aria-expanded="false">
                                                                        <div class="row">
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_OfferNameDetail" runat="server"></asp:TextBox>
                                                                                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strOfferName%>" class="form-label"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:Button ID="Btn_SearchOffersdetail" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" CausesValidation="false" />
                                                                                    <asp:Button ID="Btn_ClearOffersdetail" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,String289%>" Visible="false" CausesValidation="false" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>

                                                    <div class="col-xs-12">
                                                        <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            ID="GV_OfferPriceDetails" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False"
                                                            DataKeyNames="PriceDetailId,PriceRecordId,OfferId,OfferName">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-sm-3" ItemStyle-CssClass="col-sm-3" HeaderText='<%$ Resources:Content, strOfferName %>'>
                                                                    <ItemTemplate>
                                                                        <asp:Literal ID="Ltl_OfferName" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-sm-3" ItemStyle-CssClass="col-sm-3 break-word-all" HeaderText='<%$ Resources:Content, ListPrice %>'>
                                                                    <ItemTemplate>
                                                                        <asp:Literal ID="Ltl_ListPrice" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-sm-3" ItemStyle-CssClass="col-sm-3" HeaderText='<%$ Resources:Content, ERPPrice %>'>
                                                                    <ItemTemplate>
                                                                        <asp:Literal ID="Ltl_ERPPrice" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-sm-3" ItemStyle-CssClass="col-sm-3" HeaderText='<%$ Resources:Content, SalePrice %>'>
                                                                    <ItemTemplate>
                                                                        <asp:Literal ID="Ltl_SalePrice" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start--%>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager3" runat="server" />
                                                            </PagerTemplate>
                                                            <%--PagerTemplate End--%>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="col-xs-12" id="Div_AddOfferPrice" runat="server" visible="false">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.AddOffersPriceListing%>                                                                                                                                 
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content, strSelectCSPProfile %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_CSPProfilesOfferPriceToAdd" runat="server" AutoPostBack="true" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Literal10" runat="server" Text='<%$ Resources:Content, selectMSPriceSheet %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                    <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                    <asp:FileUpload ID="FU_SelectMSPriceSheet" runat="server" />
                                                                </span>
                                                                <span class="fileupload-preview"></span>
                                                                <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="FU_SelectMSPriceSheet"
                                                                    Display="None" SetFocusOnError="True" ValidationGroup="OffersPrice"></asp:RequiredFieldValidator>
                                                                <div class="clearfix">
                                                                </div>
                                                                <b>
                                                                    <asp:Label ID="Lbl_TechDataSheetNote" runat="server" Text="<%$ Resources:Content,strTechDataPriceListImportNode %>" Visible="false"></asp:Label></b>
                                                            </div>

                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content, GN00001473 %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_BillingCycle" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content, ProfitToAdd %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ProfitToAdd" runat="server" />
                                                            </div>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_ProfitToAdd" runat="server" ControlToValidate="TxBx_ProfitToAdd"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="OffersPrice"></asp:RequiredFieldValidator>
                                                    </div>
                                                    <div class="col-sm-5 col-xs-12">%</div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content, updatePriceOfExistingPackages %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="ChBx_UpdatePriceOfExistingPackages" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_SelectCustomerOrResellerPackages" runat="server" style="display: none;">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Ltrl_UpdateCustomerOrResellerPlans" runat="server" Text='<%$ Resources:Content, strUpdate %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:RadioButton ID="Rbtn_CustomerPackages" runat="server" Text="<%$ Resources:Content,StrCustomerPackages %>" GroupName="UpdateCustomerOrResellerPlans" Checked="true" AutoPostBack="true" />
                                                            <asp:RadioButton ID="Rbtn_ResellerPackages" runat="server" Text="<%$ Resources:Content,StrReseller Packages %>" GroupName="UpdateCustomerOrResellerPlans" AutoPostBack="true" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_SelectPackages" runat="server" style="display: none;">
                                                    <div class="col-xs-12 row-label"><%= Resources.Content.FAM00238 %></div>
                                                    <div class="col-xs-12">
                                                        <EM:AddSelectableSelected ID="UCPackages" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal37" runat="server" Text='<%$ Resources:Content, GN0000752 %>' EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-8 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="ChBx_SendEmail" runat="server" Text="<%$ Resources:Content, EmailToAll %>" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:ValidationSummary ID="ValidationSummary3" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                            ValidationGroup="OffersPrice" HeaderText="<%$ Resources:Content,EM000001%>" />

                                                        <asp:Button ID="Btn_SaveOfferPrices" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="OffersPrice" />
                                                        <asp:Button ID="Btn_CancelOfferPrices" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" CausesValidation="false" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_CommercialSaaSProdPrice" runat="server" HeaderText="<%$ Resources:Content,CommercialSaaSProdPrice %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab3" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false" DefaultButton="Btn_SearchProdsPrice">
                                <div class="row">
                                    <div id="Div_ListingProd" runat="server">
                                        <div class="col-xs-12">
                                            <div class="panel-group search-panel" id="div-prodprices-search-panel" role="tablist" aria-multiselectable="true">
                                                <div role="tab" id="div-search-tab-prodheaderprice">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#div-prodprices-search-panel"
                                                            href="#div-search-tab-prodbodyprice" aria-expanded="true" aria-controls="div-search-tab-prodheaderprice">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="div-search-tab-prodbodyprice" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="div-search-tab-prodheaderprice" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_CSPProfilesProdPrice" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_PaymentGroupProdPrice" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ProdName" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ProductName%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="col-xs-12 col-sm-5 col-md-4">
                                                                        <label class="row-label display-date-label">
                                                                            <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,GN0000687%>" EnableViewState="false" />:
                                                                        </label>
                                                                        <div class="form-group display-date-input">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_ProdDRangeAfter" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <i runat="server" id="A_ProdDRangeAfter" class="material-icons icon-calendar col-calendar"></i>
                                                                        <EM:CalendarExtender ID="CE_ProdDRangeAfter" runat="server" TargetControlID="TxBx_ProdDRangeAfter"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_ProdDRangeAfter" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </div>
                                                                    <div class="col-xs-12 col-sm-5 col-md-4">
                                                                        <label class="row-label display-date-label">
                                                                            <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,GN0000688%>" EnableViewState="false" />:
                                                                        </label>
                                                                        <div class="form-group display-date-input">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_ProdDRangeBefore" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <i runat="server" id="A_ProdDRangeBefore" class="material-icons icon-calendar col-calendar"></i>
                                                                        <EM:CalendarExtender ID="CE_ProdDRangeBefore" runat="server" TargetControlID="TxBx_ProdDRangeBefore"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_ProdDRangeBefore" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:Button ID="Btn_SearchProdsPrice" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                        <asp:Button ID="Btn_ClearProdsPrice" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,String289%>" Visible="false" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-xs-12">
                                            <div class="card Div_OpsRow" id="Div_OpsRow2" runat="server">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN00001320%>                                                                                                                                 
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <asp:Button ID="Btn_AddProdPrice" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,AddProdPriceListing%>" />
                                                </div>
                                            </div>
                                            <br />
                                            <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                ID="GV_ProdPrices" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False"
                                                DataKeyNames="PriceRecordId,CSPProfileId,PGId">
                                                <Columns>
                                                    <asp:TemplateField SortExpression="DateStamp" HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, GN0000763 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_DateStamp" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-3" ItemStyle-CssClass="col-sm-3 break-word-all" HeaderText='<%$ Resources:Content, L00193 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_ProfileName" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, ProfitToAdd %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_ProfitToAdd" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, UpdateExistingPackages %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_UpdateExistingPackages" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, GN0000831 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_PaymentGroup" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LB_Details" Text="<%$ Resources:Content,strDetails%>" class="btn btn-primary waves-effect"
                                                                CommandArgument='<%#DataBinder.Eval(Container, "DataItem.PriceRecordId")%>' CommandName="strDetails" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager2" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>
                                        </div>
                                    </div>

                                    <div class="col-xs-12" id="Div_ProdPriceDetails" runat="server" visible="false">
                                        <div class="card">
                                            <div class="header">
                                                <div class="displayInlineBlock">
                                                    <h3>
                                                        <asp:Literal ID="Literal40" runat="server" /></h3>
                                                </div>
                                                <asp:LinkButton ID="Lbtn_ProdGoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                                                    class="btn btn-primary waves-effect pull-right m-t--4px" />
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <asp:Panel ID="Panel2" runat="server" CssClass="col-xs-12" DefaultButton="Btn_Searchprodsdetail">
                                                        <div class="panel-group search-panel" id="div-proddetail-search-panel" role="tablist" aria-multiselectable="true">
                                                            <div role="tab" id="div-search-tab-prodheaderdetail">
                                                                <div class="card">
                                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#div-proddetail-search-panel"
                                                                        href="#div-search-tab-prodbodydetail" aria-expanded="true" aria-controls="div-search-tab-prodheaderdetail">
                                                                        <h3>
                                                                            <%= Resources.Content.GN0000395%>
                                                                        </h3>
                                                                    </div>
                                                                    <div id="div-search-tab-prodbodydetail" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="div-search-tab-headerdetail" aria-expanded="false">
                                                                        <div class="row">
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_ProdNameDetail" runat="server"></asp:TextBox>
                                                                                        <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000103%>" class="form-label"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:Button ID="Btn_SearchProdsdetail" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" CausesValidation="false" />
                                                                                    <asp:Button ID="Btn_ClearProdsdetail" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,String289%>" Visible="false" CausesValidation="false" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>

                                                    <div class="col-xs-12">
                                                        <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            ID="GV_ProdPriceDetails" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False"
                                                            DataKeyNames="PriceDetailId,PriceRecordId,OfferId,OfferName">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-sm-4 break-word-all" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, GN0000103 %>'>
                                                                    <ItemTemplate>
                                                                        <asp:Literal ID="Ltl_ProdName" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderStyle-CssClass="col-sm-8" ItemStyle-CssClass="col-sm-8">
                                                                    <HeaderTemplate>
                                                                        <div class="col-sm-3">
                                                                            <asp:Literal ID="Ltrl_BillingHeading" runat="server" Text='<%$ Resources:Content,GN00001490 %>'></asp:Literal>
                                                                        </div>
                                                                        <div class="col-sm-3">
                                                                            <asp:Literal ID="Ltrl_TermDurationHeading" runat="server" Text='<%$ Resources:Content,TermDuration %>'></asp:Literal>
                                                                        </div>
                                                                        <div class="col-sm-3">
                                                                            <asp:Literal ID="Ltrl_UnitPriceHeading" runat="server" Text="<%$ Resources:Content,strUnitPrice %>"></asp:Literal>
                                                                        </div>
                                                                        <%--Cost Price--%>
                                                                        <div class="col-sm-3">
                                                                            <asp:Literal ID="Ltrl_ERPPrice" runat="server" Text="<%$ Resources:Content,ERPPrice %>"></asp:Literal>
                                                                        </div>
                                                                        <%--Sale Price--%>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Repeater ID="Rep_PriceDetails" runat="server" OnItemDataBound="Rep_PriceDetails_ItemDataBound">
                                                                            <ItemTemplate>
                                                                                <div class="col-sm-3">
                                                                                    <asp:Literal ID="Ltrl_Billing" runat="server" Text='<%# Eval("Billingcycle") %>'></asp:Literal>
                                                                                </div>
                                                                                <div class="col-sm-3">
                                                                                    <asp:Literal ID="Ltrl_TermDuration" runat="server" Text='<%# Eval("TermDuration") %>'></asp:Literal>
                                                                                </div>
                                                                                <div class="col-sm-3">
                                                                                    <asp:Literal ID="Ltrl_CostPrice" runat="server" Text='<%# Eval("CostPrice") %>'></asp:Literal>
                                                                                </div>
                                                                                <div class="col-sm-3">
                                                                                    <asp:Literal ID="Ltrl_SalePrice" runat="server" Text='<%# Eval("SalePrice") %>'></asp:Literal>
                                                                                </div>
                                                                            </ItemTemplate>
                                                                        </asp:Repeater>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start--%>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager3" runat="server" />
                                                            </PagerTemplate>
                                                            <%--PagerTemplate End--%>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>

                                    <div class="col-xs-12" id="Div_AddProdPrice" runat="server" visible="false">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.AddProdPriceListing%>                                                                                                                                 
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal42" runat="server" Text='<%$ Resources:Content, strSelectCSPProfile %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_CSPProfilesProdPriceToAdd" runat="server" AutoPostBack="true" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Ltrl_ProdAddPGHeading" runat="server" Text='<%$ Resources:Content, GN0000831 %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_PaymentGroupProdPriceToAdd" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Ltrl_CountryProdPriceToAdd" runat="server" Text='<%$ Resources:Content, GN0000882 %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_CountryProdPriceToAdd" AutoPostBack="true" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Ltrl_LocaleProdPriceToAdd" runat="server" Text='<%$ Resources:Content, LanguageLocale %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_LocaleProdPriceToAdd" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Literal45" runat="server" Text='<%$ Resources:Content, ProfitToAdd %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ProfitToAddProd" runat="server" Text="0" />
                                                            </div>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="TxBx_ProfitToAddProd"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="ProdPrice"></asp:RequiredFieldValidator>
                                                    </div>
                                                    <div class="col-sm-5 col-xs-12">%</div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal46" runat="server" Text='<%$ Resources:Content, updatePriceOfExistingPackages %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="ChBx_UpdateProdPriceOfExistingPackages" runat="server" Text="&nbsp;" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_SelectProdCustomerOrResellerPackages" runat="server" style="display: none;">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal47" runat="server" Text='<%$ Resources:Content, strUpdate %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:RadioButton ID="Rbtn_ProdCustomerPackages" runat="server" Text="<%$ Resources:Content,StrCustomerPackages %>" GroupName="UpdateCustomerOrResellerPlans" Checked="true" AutoPostBack="true" />
                                                            <asp:RadioButton ID="Rbtn_ProdResellerPackages" runat="server" Text="<%$ Resources:Content,StrReseller Packages %>" GroupName="UpdateCustomerOrResellerPlans" AutoPostBack="true" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_SelectProdPackages" runat="server" style="display: none;">
                                                    <div class="col-xs-12 row-label"><%= Resources.Content.FAM00238 %></div>
                                                    <div class="col-xs-12">
                                                        <EM:AddSelectableSelected ID="UCProdPackages" runat="server" />
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Literal43" runat="server" Text='<%$ Resources:Content, selectMSPriceSheet %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                                                    <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                    <asp:FileUpload ID="FU_SelectMSProdPriceSheet" runat="server" />
                                                                </span>
                                                                <span class="fileupload-preview"></span>
                                                                <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                                                <asp:RequiredFieldValidator ID="RFV_FU_SelectMSProdPriceSheet" runat="server" ControlToValidate="FU_SelectMSProdPriceSheet"
                                                                    Display="None" SetFocusOnError="True" ValidationGroup="ProdPrice"></asp:RequiredFieldValidator>

                                                            </div>

                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal48" runat="server" Text='<%$ Resources:Content, GN0000752 %>' EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-8 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:CheckBox ID="ChBx_ProdSendEmail" runat="server" Text="<%$ Resources:Content, EmailToAll %>" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:ValidationSummary ID="ValidationSummary4" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                            ValidationGroup="ProdPrice" HeaderText="<%$ Resources:Content,EM000001%>" />

                                                        <asp:Button ID="Btn_SaveProdPrices" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="ProdPrice" />
                                                        <asp:Button ID="Btn_CancelProdPrices" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" CausesValidation="false" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_PowerBI" runat="server" HeaderText="<%$ Resources:Content,PowerBIview %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab4" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false" DefaultButton="Btn_SearchPBI">
                                <div class="row">
                                    <div id="Div_ListingPBIView" runat="server">
                                        <div class="col-xs-12">
                                            <div class="panel-group search-panel" id="div-pbi-search-panel" role="tablist" aria-multiselectable="true">
                                                <div role="tab" id="div-search-tab-headerpbi">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#div-pbi-search-panel"
                                                            href="#div-search-tab-bodypbi" aria-expanded="true" aria-controls="div-search-tab-headerpbi">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="div-search-tab-bodypbi" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="div-search-tab-headerpbi" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_CSPProfilesPBI" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ViewName" runat="server" MaxLength="200"></asp:TextBox>
                                                                            <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ViewName%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ViewLink" runat="server" MaxLength="200"></asp:TextBox>
                                                                            <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ViewLink%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:Button ID="Btn_SearchPBI" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                        <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                            Text="<%$ Resources:Content,String289 %>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-xs-12">
                                            <div class="card Div_OpsRow" id="Div_OpsRow3" runat="server">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN00001320%>                                                                                                                                 
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <asp:Button ID="Btn_AddPBIView" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,AddPowerBIview%>" />
                                                </div>
                                            </div>
                                            <br />
                                            <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                ID="GV_PowerBIView" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False"
                                                DataKeyNames="ViewId,CSPProfileId,ViewName">
                                                <Columns>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-4" ItemStyle-CssClass="col-sm-4" HeaderText='<%$ Resources:Content, ViewName %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_ViewName" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-4" ItemStyle-CssClass="col-sm-4 break-word-all" HeaderText='<%$ Resources:Content, ViewLink %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_ViewLink" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-CssClass="col-sm-2" ItemStyle-CssClass="col-sm-2" HeaderText='<%$ Resources:Content, CSPProfile %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltl_CSPProfile" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LB_Edit" Text="<%$ Resources:Content,GN0000276%>" class="btn btn-primary waves-effect"
                                                                CommandArgument='<%#DataBinder.Eval(Container, "DataItem.ViewId")%>' CommandName="RowEdit" runat="server" />
                                                            <asp:LinkButton ID="LB_Delete" Text="<%$ Resources:Content,GN0000377%>" class="btn btn-primary waves-effect btnAction"
                                                                CommandArgument='<%#DataBinder.Eval(Container, "DataItem.ViewId")%>' CommandName="RowDelete" runat="server" />

                                                            <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                TargetControlID="LB_Delete">
                                                            </EM:ConfirmButtonExtender>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager1" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>

                                        </div>
                                    </div>

                                    <div class="col-xs-12" id="Div_AddPBIView" runat="server" visible="false">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.AddPowerBIview%>                                                                                                                                 
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-2 col-xs-12 row-label">
                                                        <label>
                                                            <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content, strSelectCSPProfile %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_CSPProfileToAdd" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-2 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Ltl_ViewName" runat="server" Text='<%$ Resources:Content, ViewName %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ViewNameToAdd" runat="server" />
                                                            </div>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_ViewNameToAdd" runat="server" ControlToValidate="TxBx_ViewNameToAdd"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="ViewToAdd"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-2 col-xs-12 row-label">
                                                        <label>
                                                            *
                                                            <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content, ViewLink %>' EnableViewState="false" />:
                                                        </label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ViewLinkToAdd" runat="server" />
                                                            </div>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_ViewLinkToAdd" runat="server" ControlToValidate="TxBx_ViewLinkToAdd"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="ViewToAdd"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:ValidationSummary ID="ValidationSummary2" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                            ValidationGroup="ViewToAdd" HeaderText="<%$ Resources:Content,EM000001%>" />

                                                        <asp:Button ID="Btn_SavePBIView" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="ViewToAdd" />
                                                        <asp:Button ID="Btn_CancelPBIView" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" CausesValidation="false" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_3rdPartyProds" Enabled="false" runat="server" HeaderText="<%$ Resources:Content,Str3rdPartyProds %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab5" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent5" runat="server">

                                <div class="row">
                                    <div class="col-xs-12">
                                        <UC:CSPProd ID="CSPProd1" runat="server" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_OfferNameAndDescription" runat="server" HeaderText="<%$ Resources:Content,OfferNameAndDescription %>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab6" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <UC:OfferNameAndDescription ID="UC_OfferNameAndDescription" runat="server" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>

</asp:Content>
