<%@ control language="VB" autoeventwireup="false" inherits="AddOn, MachSol.MachPanel.Web" %>
<%@ Register Assembly="GroupRadioButton" Namespace="Vladsm.Web.UI.WebControls" TagPrefix="EM" %>
<ajax:UpdatePanel ID="UP" runat="server">
    <ContentTemplate>
        <div class="card-main">
            <div class="header p-t-10">
                <div class="displayInlineBlock">
                    <h2>
                        <asp:Literal ID="Literal133" runat="server" Text='<%$Resources:Content,strSelectYourChoice%>' EnableViewState="false"></asp:Literal></h2>
                </div>
                <asp:LinkButton ID="LB_Cancel" runat="server" Text='<%$Resources:Content,GN0000572%>' CssClass="btn btn-primary waves-effect pull-right m-t--4px"></asp:LinkButton>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <div id="Div_Updater" runat="server" enableviewstate="false" style="display: none">
                          
                            <asp:HiddenField ID="HF_CurrencySymbol" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:Repeater ID="Rep_AllAddonTypes" runat="server">
                            <ItemTemplate>
                                <div class="col-lg-4 col-sm-6 col-xs-12 select-package-tiles">
                                    <asp:HiddenField ID="HF_DisplayType" runat="server" />
                                    <asp:HiddenField ID="HF_AddonTypeID" runat="server" />
                                    <div class="card Addons-min-height">
                                        <div class="body">

                                            <asp:Repeater ID="Rep_AddonsDetail" runat="server">
                                                <ItemTemplate>
                                                    <div id="Div_Managed" runat="server">
                                                            <div id="Div_AddOnName" runat="server" class="product-heading">
                                                                <%#DataBinder.Eval(Container, "DataItem.AddOnName")%>
                                                            </div>

                                                        <div class="store-cycle-dd">
                                                            <asp:DropDownList ID="DDL_Cycle" runat="server" />
                                                        </div>
                                                        <div class="prod-setup-price">
                                                            <asp:Literal ID="Literal2" runat="server" Text="<%$Resources:Content,M0123%>"></asp:Literal>:
                                            &nbsp;<asp:Label ID="Lbl_Setup" runat="server" />
                                                        </div>
                                                        <div class="PricingDetail">
                                                            <h4 class="color-Orange">
                                                                <asp:Literal ID="Literal3" runat="server" Text="<%$Resources:Content,GN000112%>"></asp:Literal>:
                                            &nbsp;<asp:Label ID="Lbl_Price" CssClass="pricing-style" runat="server" /></h4>
                                                            <div id="Div_OPrice" class="mark" runat="server">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <%-- UnManaged Add-On--%>
                                                    <div id="Div_UnManaged" runat="server">
                                                        
                                                        <div class="store-cycle-dd">
                                                            <asp:CheckBox ID="CB_AddOn" Text='<%#DataBinder.Eval(Container, "DataItem.AddOnName")%>'
                                                                runat="server" />
                                                            <div class="clearfix p-t-10"></div>
                                                            <asp:DropDownList ID="DDL_Cycle2" runat="server" />
                                                        </div>
                                                        <div class="prod-setup-price">
                                                            <asp:Literal ID="Literal4" runat="server" Text="<%$Resources:Content,M0123%>"></asp:Literal>:
                                            &nbsp;<asp:Label ID="Lbl_Setup2" runat="server" />
                                                        </div>
                                                        <div class="PricingDetail">
                                                            <h4 class="color-Orange">
                                                                <asp:Literal ID="Literal5" runat="server" Text="<%$Resources:Content,GN000112%>"></asp:Literal>:
                                            &nbsp;<asp:Label ID="Lbl_Price2" CssClass="pricing-style" runat="server" /></h4>
                                                            <div id="Div_OPrice2" class="mark" runat="server">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <div id="Div_Select" runat="server">
                                                <div class="product-heading-main">
                                                    <div class="product-heading">
                                                        <%#DataBinder.Eval(Container, "DataItem.AddOnGroupName")%>
                                                    </div>
                                                    <div class="product-comments">
                                                        <%#DataBinder.Eval(Container, "DataItem.AddOnComments")%>
                                                    </div>
                                                </div>
                                                <div class="PricingDetail">
                                                    <asp:Literal ID="Literal6" runat="server" Text="<%$Resources:Content,SMI0345%>"></asp:Literal>:
                                   &nbsp;<asp:DropDownList ID="DDL_Select" runat="server" />
                                                </div>
                                                <div class="store-cycle-dd">

                                                    <asp:DropDownList ID="DDL_Cycle" runat="server" />
                                                </div>
                                                <div class="prod-setup-price">
                                                    <asp:Literal ID="Literal2" runat="server" Text="<%$Resources:Content,M0123%>"></asp:Literal>:
                                    &nbsp;<asp:Label ID="Lbl_Setup" runat="server" />
                                                </div>
                                                <div class="PricingDetail">
                                                    <asp:Literal ID="Literal3" runat="server" Text="<%$Resources:Content,GN000112%>"></asp:Literal>:
                                    &nbsp;<asp:Label ID="Lbl_Price" runat="server" />
                                                    <div id="Div_OPrice" class="mark" runat="server">
                                                    </div>
                                                </div>
                                            </div>
                                           
                                            <div class="PricingDetail">
                                                <asp:LinkButton ID="Btn_Add" CommandName="Add" CssClass="btn btn-primary waves-effect btnAction" runat="server" Text='<%$Resources:Content,DGN1110156%>' />
                                            </div>

                                            <div class="PricingDescription">
                                                <asp:Literal ID="Lt_InitialDesc" runat="server"></asp:Literal>
                                                <a id="LB_MoreDetail" runat="server" data-toggle="modal" visible="false">
                                                    <asp:Literal ID="Literal76" runat="server" Text="<%$Resources:Content,Lync369%>"></asp:Literal>
                                                </a>

                                                <!-- Trigger the modal with a button -->
                                                <!-- Modal -->
                                                <div class="modal fade" id='<%#DataBinder.Eval(Container.DataItem, "AddonTypeID")%>' role="dialog">
                                                    <div class="modal-dialog">
                                                        <div class="modal-content">
                                                            <div class="modal-header">
                                                                <button type="button" class="close" data-dismiss="modal">&times;</button>
                                                                <div class="PopupHeading pull-left"><%= Resources.Content.GN0000597 %></div>
                                                            </div>
                                                            <div class="modal-body">
                                                                <div id="Div_Desc" runat="server">
                                                                    <%#DataBinder.Eval(Container, "DataItem.AddOnComments")%>
                                                                </div>
                                                            </div>
                                                            <div class="modal-footer">
                                                                <div class="col-xs-12">
                                                                    <asp:Button ID="Btn_Pop_Cancel" runat="server" Text='<%$Resources:Content,GN000150%>' class="btn btn-primary waves-effect" data-dismiss="modal" />
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
            </div>
        </div>

    </ContentTemplate>
</ajax:UpdatePanel>
