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:
01311333
Vues:
16
>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,

Thanks Kevin,

It works perfectly now!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform