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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.strActivityTemplates%>  </h3>
            </div>
            <div class="body">
                <ajax:UpdatePanel ID="UP_Summary" runat="server" UpdateMode="Conditional" RenderMode="Inline">
                    <ContentTemplate>
                        <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                            <div class="col-xs-12">
                                <div class="card">
                                    <div class="header">
                                        <h3><%= Resources.Content.GN00001320%>  </h3>
                                    </div>
                                    <div class="body">
                                        <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_AddActivityTemplate" runat="server" Text="<%$ Resources:Content,String200%>" SkinID="defaultButton" />                                                                                                                    </div>
                                </div>
                            </div>
                        </div>
                     
                        <asp:GridView CssClass="table table-bordered table-hover table-responsive table-striped" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                            ID="GV_List" AllowPaging="false" AllowSorting="false" runat="server" AutoGenerateColumns="False">
                            <Columns>
                                 
                                <asp:TemplateField HeaderText="<%$ Resources:Content,String273%>"
                                    HeaderStyle-CssClass="col-xs-9">
                                    <ItemTemplate>
                                        <asp:Label ID="LBL_Template" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                

                                <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-4">
                                    <ItemTemplate>
                                         <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="LBtn_Edit" runat="server" Text="<%$Resources:Content,Edit %>"
                                            CommandArgument='<%# Eval("LeadActivityTemplatesId")%>' CommandName="EditTemplate"></asp:LinkButton>

                                        <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LBtn_Remove" runat="server" Text="<%$Resources:Content,GN0000278 %>"
                                            CommandArgument='<%# Eval("LeadActivityTemplatesId")%>' CommandName="RemoveTemplate"></asp:LinkButton>
                                        <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" TargetControlID="LBtn_Remove"></EM:ConfirmButtonExtender>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <PagerTemplate>
                                <EM:Pager ID="Pager1" runat="server" />
                            </PagerTemplate>
                        </asp:GridView>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>




