Hi,
In My Master Page m using AjaxControlToolKit
<ajaxToolkit:ToolkitScriptManager ID="scr" runat="server" EnablePartialRendering="true">
<Scripts>
<asp:ScriptReference Path="../js/jquery-latest.js" />
</Scripts>
</ajaxToolkit:ToolkitScriptManager>
<asp:UpdatePanel ID="atl_update" runat="server">
<ContentTemplate>
<asp:contentplaceholder id="cnt" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
and another Page
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/AdminMaster.master" AutoEventWireup="true" CodeFile="BPView.aspx.cs" Inherits="admin_clients_BPView" %>
<asp:GridView ID="GridView1" runat="server" CssClass="table table-striped m-b-none" AllowPaging = "true" GridLines="None" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:TemplateField HeaderText="id">
<ItemTemplate>
<asp:Label ID="id" runat="server" Text='<%# Bind("[id]") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Company">
<ItemTemplate>
<asp:Label ID="lbPassport" runat="server" Text='<%# Bind("[company]") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="">
<ItemTemplate>
<a href="#" id='<%# Eval("id") %>' title="Delete" class="popup">Delete </a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<Script>
$('.popup').click(function () {
alert("Welcome");
}
</script>
I have two Page in my GridView
for Example
Company
HCL Delete
DeLL Delete
1 2

when i click Delete Button in my first Page alert will be displayed
when click next Page click Delete doesnot working??..
this same problem will be occured all the pages when click first time will be working ,and click another button doesnot working??
give me solution pl??
Thanks