Hi,
Use
<asp:updatepanel xmlns:asp="#unknown">
Example:
In client code:
<tr id="trViewDetails" runat="server">
<td align="left" valign="top" style="padding-removed 10px;">
<asp:UpdatePanel ID="upGrid1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server">
<%-- some code here...--%>
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Button ID="btnDelete" runat="server" Text="Delete"
onclick="btnDelete_Click" />
<br />
</td>
</tr>
in you code behind:
protected void btnDelete_Click(object sender, EventArgs e)
{
this.upGrid1.Update();
}
Thanks
Mehdi for corection...
<asp:button id="btnDelete" runat="server" text="Delete">
onclick="btnDelete_Click" />
but still have one...
Regards,