1
I have a grid and I want to make it not give postback
when clicked on any boundfield
(those stock buttons).
I did so below, but always updates the page.
<asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true" >
<ContentTemplate>
<asp:GridView ID="GridView" runat="server" .. ETC />
<Columns>
<asp:ButtonField ButtonType="Image" CommandName="Excluir" />
</Columns>
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
Why do you wear
UpdateMode="Conditional"
?– Maicon Carraro