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

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.SM039%> </h3>
            </div>
            <div class="body">
                <ajax:UpdatePanel ID="UPD" runat="server">
                    <ContentTemplate>
                        <asp:SqlDataSource ID="DS_AFPlugin" runat="server"></asp:SqlDataSource>
                        <asp:GridView ID="GV_AFPlugins" DataSourceID="DS_AFPlugin" runat="server" AutoGenerateColumns="False"
                            CssClass="table table-bordered table-striped table-hover table-responsive" ShowFooter="true">
                            <Columns>
                                <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                    <HeaderTemplate>
                                        <asp:CheckBox CssClass="option-menu" runat="server" id="ChBx" onclick="SetChecked(this.checked, this)" name="ChkBx_All" Text=" "/>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:HiddenField ID="HF_PluginDId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.PluginDId")%>' />
                                        <asp:HiddenField ID="HF_PluginName" runat="server" Value="" ></asp:HiddenField>
                                        <asp:CheckBox CssClass="option-menu" ID="ChBx" runat="server" Text=" " />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN00001022 %>' HeaderStyle-CssClass="col-xs-10">
                                    <FooterTemplate>
                                        <asp:Button ID="Btn_Enable" CommandName="Enable" SkinID="enableButton" runat="server"
                                            Text='<%$ Resources:Content,GN00001024 %>' CssClass="btn btn-primary btnAction" />
                                        <asp:Button ID="Btn_Disable" CommandName="Disable" SkinID="disableButton" runat="server"
                                            Text='<%$ Resources:Content,GN00001025 %>' CssClass="btn btn-primary btnAction" />
                                    </FooterTemplate>
                                    <ItemTemplate>
                                        <div runat="server" id="Div_PluginName">
                                        </div>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1">
                                    <ItemTemplate>
                                        <asp:Label ID="Lbl_Status" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <%--PagerTemplate Start--%>
                            <PagerTemplate>
                                <EM:Pager ID="Pager1" runat="server" />

                            </PagerTemplate>

                            <%--PagerTemplate End--%>
                        </asp:GridView>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>
