Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record Level Editing
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01310437
Message ID:
01310957
Vues:
15
Richard,

>When I use the navigation tool bar to navigate after making a change, it does ask me if I want to save or cancel, but it only does so after I have successfully moved off of the changed record.

If you want this behavior when someone manually moves off the row by clicking on another row in the grid, you can handle the grid's SelectionChanged event. In the handler for this event you can do something like this:
if (this.IsChanged())
{
	// Ask the user if they want to save changes
	this.AskSaveChanges();
}
Best 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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform