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

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Src="CC/AddonControl.ascx" TagName="AddonControl" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Packages/CC/EditCResellerPackage.ascx" TagName="EditCRPackage" TagPrefix="UC" %>
<%@ Register Src="~/RCC/Packages/CC/CResellerPackageDetail.ascx" TagName="CRPackageDetail" TagPrefix="UC" %>
<%@ Register Src="~/RCC/Packages/CC/CResellerAddOnDetail.ascx" TagName="CRAddOnDetail" TagPrefix="UC" %>
<%@ Register Src="~/RCC/Packages/CC/EditCResellerAddOn.ascx" TagName="EditCRAddOn" TagPrefix="UC" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<asp:Content ID="Content6" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltr_HostingProducts" runat="server" Text='<%$ Resources:Content, M0056 %>' /></h2>
            </div>
            <div class="body">
                <EM:TabContainer ID="TbCntr_Products" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_ResellerProducts" runat="server" Enabled="false" HeaderText="<%$ Resources:Content,String271%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Products" runat="server" HeaderText="<%$ Resources:Content,SMI705%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <ajax:UpdatePanel ID="UP_ProductList" runat="server" RenderMode="Block" UpdateMode="Conditional">
                                    <ContentTemplate>

                                        <%-- Operations --%>
                                        <div class="card Div_OpsRow" id="tbl_Operations" runat="server">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.GN00001320%>                                                                                                                         
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="addTLD" runat="server" PostBackUrl="AddNHPackage.aspx?TI=1&NH=1"
                                                    Text="<%$ Resources:Content,GN00001462%>" />
                                                <asp:Button ID="Btn_Save2" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,FAM0019%>" />
                                            </div>
                                        </div>

                                        <div class="row">&nbsp;</div>

                                        <%-- Search Panel --%>
                                        <asp:Panel ID="Pnl_Filter_ProductListing" runat="server" DefaultButton="Btn_Filter">

                                            <div class="row">
                                                <div class="panel-group search-panel" id="AS_ProductList" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_ProductList">
                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ProductList" href="#<%= CSB_ProductList.ClientID%>" aria-expanded="true" aria-controls="SH_ProductList">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>
                                                            <div id="CSB_ProductList" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ProductList" 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_ProductName" runat="server" />
                                                                                <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000937%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12" id="Div_CategoryName" runat="server">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CategoryName" runat="server" />
                                                                                <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1172%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_AIacticePAckages" runat="server">
                                                                                <asp:ListItem Selected="True" Text='<%$ Resources:Content,SelectStatus  %>' Value="-1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000935 %>' Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000936 %>' Value="0"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Filter" runat="server" Text='<%$ Resources:Content, GN0000395 %>' />
                                                                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Clear_ProductListing" runat="server" Text='<%$ Resources:Content, String289  %>' Visible="false" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </asp:Panel>

                                        <div class="row">&nbsp;</div>

                                        <asp:SqlDataSource ID="DS_ProductList" runat="server"></asp:SqlDataSource>
                                        <asp:GridView EmptyDataText='<%$ Resources:Content, GN00001375 %>' AllowSorting="true"
                                            ID="GV_ProductList" DataSourceID="DS_ProductList" runat="server" CssClass="table table-bordered table-striped table-hover"
                                            AutoGenerateColumns="false" DataKeyNames="PackageID,PackageName,IsActive">
                                            <Columns>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,String385%>" HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%----%>
                                                        <asp:Label ID="Lbl_Status" runat="server"></asp:Label>
                                                        <%--<asp:Image ID="Img_ServiceType" runat="server" />--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content, GN0000941 %>'>
                                                    <ItemTemplate>
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:HiddenField ID="HF_PackageId" runat="server" />
                                                                <asp:TextBox ID="TxBx_ROrder" runat="server" />
                                                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_ROrder"
                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="PackageID" HeaderText='<%$ Resources:Content, GN0000678 %>'
                                                    HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.PackageID")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content, USM0159 %>" HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_WHMCS_Id" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.WHMCS_ProdId")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="PackageName" HeaderText='<%$ Resources:Content, GN0000937 %>'
                                                    HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <%# DataBinder.Eval(Container, "DataItem.PackageName") %>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="CategoryName" HeaderText='<%$ Resources:Content, DEV1172 %>'
                                                    HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label Id="Lbl_CategoryName" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,String330 %>"
                                                    HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lb_SoldCount" runat="server" CssClass="text-align-right" Text='<%# DataBinder.Eval(Container, "DataItem.TotalSold") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN00001496 %>' HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_DateCreated" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField SortExpression="PackageTypeName" HeaderStyle-CssClass="col-xs-2"
                                                    HeaderText='<%$ Resources:Content, PT0030002 %>'>
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.PackageTypeName")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-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_Clone" CssClass="btnAction" runat="server" Text='<%$ Resources:Content, DGN1110198 %>'></asp:LinkButton>

                                                                    </li>
                                                                    <li>
                                                                        <asp:HyperLink ID="LB_Edit" runat="server" Text='<%$ Resources:Content, GN0000276 %>'></asp:HyperLink>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LBTN_Edit" runat="server" Text='<%$ Resources:Content, GN0000276 %>'></asp:LinkButton>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Detail" runat="server" Text="<%$Resources:Content,GN0000843 %>"></asp:LinkButton>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_EnableDisable" CssClass="btnAction" runat="server" Text='<%$ Resources:Content, GN0000807 %>'></asp:LinkButton>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Remove" CssClass="btnAction" runat="server" Text='<%$ Resources:Content, GN0000278 %>'></asp:LinkButton>
                                                                        <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                            TargetControlID="LB_Remove">
                                                                        </EM:ConfirmButtonExtender>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                        </ul>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager1" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>

                                        <div class="row">&nbsp;</div>
                                        <asp:Button ID="Btn_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,FAM0019%>" />
                                    </ContentTemplate>
                                </ajax:UpdatePanel>


                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Addons" runat="server" HeaderText="<%$ Resources:Content,String39%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                <ajax:UpdatePanel ID="UP_Addon" runat="server" RenderMode="Block">
                                    <ContentTemplate>

                                        <%-- Operations --%>
                                        <div class="card Div_OpsRow" id="tbl_AddOnOperations" runat="server">
                                            <div class="header">
                                                <h3>
                                                    <%= Resources.Content.GN00001320%>                                                                                                                         
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_NewAddon" Enabled="false" runat="server"
                                                    Text="<%$ Resources:Content,SMI706%>" Style="display: none;" />
                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_NewUMAddon" runat="server" Text="<%$ Resources:Content,SMI707%>" />
                                                <asp:Button ID="Btn_ASave2" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,FAM0019%>" />
                                            </div>
                                        </div>
                                        <div class="row">&nbsp;</div>

                                        <%-- Search Panel --%>
                                        <asp:Panel ID="Pnl_Search_Addon" runat="server" DefaultButton="Btn_AddonFilter">
                                            <div class="row">
                                                <div class="panel-group search-panel" id="AS_AddonList" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_AddonList">
                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_AddonList" href="#<%= CSB_AddonList.ClientID%>" aria-expanded="true" aria-controls="SH_AddonList">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>
                                                            <div id="CSB_AddonList" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_AddonList" 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_AddOnName" runat="server" />
                                                                                <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,String141%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-12 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:Button class="btn btn-primary waves-effect" ID="Btn_AddonFilter" runat="server" Text='<%$ Resources:Content, GN0000395 %>' />
                                                                            <asp:Button class="btn btn-primary waves-effect" ID="Btn_Clear_Addon" runat="server" Text='<%$ Resources:Content, String289  %>' Visible="false" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                        <div class="row">&nbsp;</div>
                                        <asp:SqlDataSource ID="DS_AddOnList" runat="server"></asp:SqlDataSource>
                                        <asp:GridView EmptyDataText='<%$ Resources:Content, GN00001375 %>' ID="GV_AddOnList"
                                            DataSourceID="DS_AddOnList" runat="server" CssClass="table table-bordered table-striped table-hover" AutoGenerateColumns="false">
                                            <Columns>
                                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1"
                                                    HeaderText='<%$ Resources:Content, GN0000941 %>'>
                                                    <ItemTemplate>
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:HiddenField ID="HF_PackageId" runat="server" />
                                                                <asp:TextBox ID="TxBx_ROrder" runat="server" />
                                                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_ROrder"
                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                </EM:FilteredTextBoxExtender>
                                                            </div>
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000678 %>' HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.AddOnTypeId")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content, USM0159 %>" HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_WHMCS_Id" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.WHMCS_AddOnId")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN000140%>" HeaderStyle-CssClass="col-xs-2" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_PackageType" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,String141%>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <%#DataBinder.Eval(Container, "DataItem.AddOnGroupName")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,String330%>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Sold" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,SMI300%>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_IsPlanned" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-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_Clone" CssClass="btnAction" runat="server" Text='<%$ Resources:Content, DGN1110198 %>'></asp:LinkButton>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Edit" runat="server" Text='<%$ Resources:Content, GN0000276 %>'></asp:LinkButton>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Detail" runat="server" Text="<%$Resources:Content,GN0000843 %>"></asp:LinkButton>
                                                                    </li>
                                                                    <li>
                                                                        <asp:LinkButton ID="LB_Remove" CssClass="btnAction" runat="server" Text='<%$ Resources:Content, GN0000278 %>'></asp:LinkButton>
                                                                        <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                            TargetControlID="LB_Remove">
                                                                        </EM:ConfirmButtonExtender>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                        </ul>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager2" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                        <div class="row">&nbsp;</div>
                                        <asp:Button ID="Btn_ASave" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,FAM0019%>" />
                                    </ContentTemplate>
                                </ajax:UpdatePanel>

                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>
    <asp:Button class="btn btn-primary waves-effect" ID="Btn_OK" runat="server" Text="<%$ Resources:Content,GN0000858%>" Style="display: none;" />
    <asp:Panel ID="Panel1" runat="server" Style="display: none; background-color: White; width: auto;">
        <EM:AddonControl ID="AddonControl1" runat="server" />
    </asp:Panel>
    <EM:ModalPopupExtender runat="server" ID="MP1" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="Panel1" TargetControlID="Btn_OK">
    </EM:ModalPopupExtender>

    <ajax:UpdatePanel ID="UP_EditCRAddOn" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Pnl_EditCRAddOn" runat="server" CssClass="width-modal-popup-auto" Style='display: none; width: 500px' Visible="false">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"><%= Resources.Content.GN0000100%></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_EditCRAddOn.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <UC:EditCRAddOn ID="EditCRAddOn1" runat="server" Visible="false"></UC:EditCRAddOn>
                            </div>
                        </div>
                    </div>
                </div>
                <asp:Button ID="Btn_EditCRAddOnDummy" runat="server" Style="display: none;" />
                <EM:ModalPopupExtender runat="server" ID="MPE_EditCRAddOn" BackgroundCssClass="modalBackground"
                    DropShadow="false" PopupControlID="Pnl_EditCRAddOn" TargetControlID="Btn_EditCRAddOnDummy">
                </EM:ModalPopupExtender>
            </asp:Panel>
        </ContentTemplate>
        <Triggers>
            <ajax:AsyncPostBackTrigger ControlID="EditCRAddOn1" EventName="ResellerAddOnDetailCancelled" />
            <ajax:AsyncPostBackTrigger ControlID="EditCRAddOn1" EventName="ResellerAddOnDetailSaved" />
        </Triggers>
    </ajax:UpdatePanel>
    <ajax:UpdatePanel ID="UP_CRAddOnDetail" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Pnl_CRAddOnDetail" runat="server" CssClass="Pnl-CRPackageDetail" Visible="false">
                <table width="100%">
                    <tr>
                        <td align="right">
                            <asp:ImageButton ID="Btn_ICloseAddOn" runat="server" ImageUrl="~/App_Themes/Default/Images/icons/disabled-icon.png" AlternateText="<%$ Resources:Content,GN000150%>" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Panel ID="Pnl_DataAddOn" runat="server" ScrollBars="auto" CssClass="height-max-470px">
                                <UC:CRAddOnDetail ID="CRAddOnDetail1" runat="server" Visible="false"></UC:CRAddOnDetail>
                                <asp:Button ID="Btn_CRAddOnDetailDummy" runat="server" Style="display: none;" />
                            </asp:Panel>
                            <EM:ModalPopupExtender runat="server" ID="MPE_CRAddOnDetail" BackgroundCssClass="modalBackground"
                                DropShadow="false" PopupControlID="Pnl_CRAddOnDetail" TargetControlID="Btn_CRAddOnDetailDummy" CancelControlID="Btn_ICloseAddOn">
                            </EM:ModalPopupExtender>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </ContentTemplate>
    </ajax:UpdatePanel>
    <ajax:UpdatePanel ID="UP_CRPackageDetail" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Pnl_CRPackageDetail" runat="server" CssClass="width-modal-popup-auto" Visible="false">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">

                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_CRPackageDetail.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <UC:CRPackageDetail ID="CRPackageDetail1" runat="server" Visible="false"></UC:CRPackageDetail>
                            </div>
                        </div>
                    </div>
                </div>
                <asp:Button ID="Btn_DummyCRPackageDetail" runat="server" Style="display: none;" />
                <EM:ModalPopupExtender runat="server" ID="MPE_CRPackageDetail" BackgroundCssClass="modalBackground" DropShadow="false"
                    PopupControlID="Pnl_CRPackageDetail" TargetControlID="Btn_DummyCRPackageDetail">
                </EM:ModalPopupExtender>
            </asp:Panel>
        </ContentTemplate>
    </ajax:UpdatePanel>
    <ajax:UpdatePanel ID="UP_ResellerEdit" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Pnl_ResellerEdit" runat="server" CssClass="width-modal-popup-auto" Style='display: none; width: 600px' Visible="false">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header container-fluid">
                            <h3 class="pull-left"><%= Resources.Content.GN0000100%></h3>
                            <span>
                                <button type="button" class="close" onclick="$find('<%=MPE_ResellerEdit.ClientID%>').hide();">&times;</button>
                            </span>
                        </div>
                        <div class="body">
                            <div class="row">
                                <UC:EditCRPackage ID="EditCRPackage1" runat="server" Visible="false"></UC:EditCRPackage>
                            </div>
                        </div>
                    </div>
                </div>
                <asp:Button ID="Btn_DummyResellerEdit" runat="server" Style="display: none;" />
                <EM:ModalPopupExtender runat="server" ID="MPE_ResellerEdit" BackgroundCssClass="modalBackground"
                    DropShadow="false" PopupControlID="Pnl_ResellerEdit" TargetControlID="Btn_DummyResellerEdit">
                </EM:ModalPopupExtender>
            </asp:Panel>
        </ContentTemplate>
    </ajax:UpdatePanel>
</asp:Content>
