Hi,
you can place your gridview inside update panel as below.
<asp:scriptmanager id="ScriptManager1" runat="server" />
<asp:updatepanel id="UpdPanel1" runat="server" childrenastriggers="true" >
<contenttemplate>
<asp:gridview id="GridView1" runat="server" onrowdatabound="GridView1_RowDataBound" autogeneratecolumns="false">
<columns>
''''
</columns>
</asp:gridview>
</contenttemplate>
</asp:updatepanel>
you can specify the gridview
link button (Any Button for that matter)
as post back trigger as below.
specify
RowDataBound
Event for gridview and inside that event function write below code.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
LinkButton lb = e.Row.FindControl("LinkButton1") as LinkButton;
ScriptManager.GetCurrent(this).RegisterAsyncPostBackControl(lb);
}
You need to register each and every LinkButton as an AsyncPostBackTrigger. After each row is bound in your GridView, you'll need to search for the LinkButton and register it through code as above. You can specify any button inside the gridview as post back trigger as above.
hope it helps