I have a gridView that contains <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" /> and I want to use an update panel to refresh just the gridview when I click Edit for a record. I have tried using the RowEditing trigger as the postback trigger
but it's not working. How do I get UpdatePanel to trigger when I click Edit or delete in this gridview. Here is my current code:
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Gridview3" EventName="RowEditing" />
</Triggers>
<ContentTemplate>
<asp:GridView ID=" ...
Go to the complete details ...