Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in creating a delete confirmation message box
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00894707
Message ID:
00894819
Vues:
6
>I'm having problem in creating a delete confirmation message box in the DataGrid. For your information, i need the process to be in this way,
>
>display records --> press delete button --> delete confirm message box--> record deleted
>
>Suppose that when the user press the delete button, a delete confirm message box should pop out to verify the deletion with the user, but it doesn't.

Are you using an mmButtonDelete class for your Delete button? When clicked, this button automatically calls the form-level Delete() method which displays the "Are you sure?" dialog. If you're using just a regular mmButton as our Delete button, in the Click event handler of the button, you need to call the form-level Delete() method manually. If you are deleting a record in a business object that is NOT the form's primary business object, then you need to pass a reference to the business object in the call to Delete().

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform