Dec 04, 2008, 6:19 AM
[CLOSED] DeleteCommand will not fire
Hi I have a simple gridpanel with a sql data source. Everything works fine "insert command", update command. But the delete command will not fire. I dont know why? Is their maybe a bug or have I forgotten something
/mikael
<asp:SqlDataSource ID="SqlDSViewsPerGroup" runat="server" ConnectionString=""
DeleteCommand="DELETE FROM ViewsPerGroup"></asp:SqlDataSource>
//delete Button to the gridpanel
<ext:Button ID="btnDelete" runat="server" Text="Delete" Icon="Delete">
<Listeners>
<Click Handler="#{gpViewsPerGroup}.deleteSelected();" />
</Listeners>
</ext:Button>
/mikael