StrataFrame Forum

BO is becoming dirty after deletion from listview

http://forum.strataframe.net/Topic20842.aspx

By Jeff Pagley - 11/21/2008

Hi SF Team,

I am using the SF Listview in combination with SF Child Form Dialog control to add, edit and delete records.  Also, I am using the SF Themed Tool strip buttons for initiating the add, edit and delete which are tied to the SF Listview properties (AddObject, EditObject and DeleteObject).  The add and edit functions work perfectly.  When the user deletes a selected record from the list view, the 'Delete Record' confirmation comes up and the user clicks yes and the record disappears from the listview. However, when the user goes to close the form the 'Save Changes' dialog box pops up for the user to confirm the deletion again.  This should not be happening.  The user has already click yes to the Delete Record confirmation dialog box.  What I am missing?

Thanks for the help.

Jeff

By Trent L. Taylor - 11/21/2008

There is a property on the ListView called DeleteMarkOnly which is initially set to True.  So if you want the list to immediately delete the item from the server without a save downstream, then set this to False.