I assumed I could use my own Delete Method by using the ItemCommand:
protected void FormViewModule_ItemCommand(object sender,
FormViewCommandEventArgs e)
{
if (e.CommandName == "Delete")
{
lblMessage.Text = "Deleted";
}
}
I just tried to set the text on a label to see if the event would fire
but I get this error message:
Deleting is not supported by ObjectDataSource 'ObjectDataSourceModule'
unless the DeleteMethod is specified
How do I force it to use my Delete Method instead of the
ObjectDataSource's Delete Method.
Thank you for any help
John