Delete verification not showing up


Author
Message
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I have created a user control which takes a business object and is sort of like the maintenance strip, but modified to fit what our business wants.  I am using this control on a Form, and everything works great except the verify delete message box does not show up when I call the DeleteCurrentRow.  I tried putting code in the BeforeDelete event on the form and it doesn't get to it.  When I put code in the BeforeDelete for the BO, it DOES hit that code.  So why would the BeforeDelete be getting hit in the BO, but not on the form?  Note:  the UnsavedChangesExist code works fine on the form.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Andria,

You are calling the Delete directly on the BO, in order to respect all of the form logic, try calling the Delete on the form to see if you get the results you are looking for.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search