Visual Studio quit doing this;
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" ConflictDetection="CompareAllValues"
DeleteMethod="DeleteCustomer" InsertMethod="InsertCustomerReturnID" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetCustomersByFilters" TypeName="BLL.CustomersClass" UpdateMethod="UpdateCustomer" OnDeleted="ObjectDataSource1_Deleted">
Protected Sub ObjectDataSource1_Deleted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs)
End Sub
and started doing this;
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" ConflictDetection="CompareAllValues"
DeleteMethod="DeleteCustomer" InsertMethod="InsertCustomer" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetCustomersByFilters" TypeName="BLL.CustomersClass" UpdateMethod="UpdateCustomer">
<DeleteParameters>
Protected Sub ObjectDataSource1_Deleted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs) Handles ObjectDataSource1.Deleted
End Sub
And I am having a problem with using Image ButtonTypes in CommandFields of DetailsViews in pages that were compiled recently. It tries deleting the record more than once.
Anyone got any ideas? I've been stuck on this for about a week and would REALLY appreciate the help.