Hi,
i want to delete record in gridview without using Script Manager..
want to delete using ajax..
<asp:GridView ID="GridView1" runat="server" CssClass="table table-hover" AllowPaging = "true" GridLines="None" AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:TemplateField HeaderText="Order Id">
<ItemTemplate>
<asp:Label ID="lbPassport" runat="server" Text='<%# Bind("[Order Id]") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" Width="30px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Status">
<ItemTemplate>
<a href="#" id="<%# Eval("[Order Id]") %>" onclick='Check(this.id)' class="popup">Show Details </a>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" Width="30px" />
</asp:TemplateField>
>
</Columns>
</asp:GridView>
<Script>
function Check(obj)
{
here i il get id..passing this id to web Method want to delete that record without Page Refreshing
}
</script>
thanks