OK, This is a Delete button in a datagrid, I can't seem to get the event to fire.
VB Code:
Sub dgProd_DeleteCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgProd.DeleteCommand Response.Write("hello") End Sub
VB Code:
<asp:datagrid id="dgProd" style="Z-INDEX: 101; LEFT: 40px; POSITION: absolute; TOP: 136px" runat="server" Width="648px" Height="128px" AutoGenerateColumns="False" OnDeleteCommand="dgProd_DeleteCommand">
Seems to be working today....go figure




Reply With Quote