views:

58

answers:

1
+1  Q: 

Gridview - Update

Hi

I'm debugging somebody elses code, and they have used a GridVew, linked to a collection of classes. Few problems with it though, when they add a row, they can leave that without clicking the ok or cancel buttons

In a GridView is there any way, to throw an update when used leaves a row other than clicking on the ok button, or is there a way to stop the user accessing other rows whilst you have a row that is being edited ?

The framework being used is 2.0.50727

Thanks in advance

+1  A: 

You could do something like this: Prompting a User to Save When Leaving an ASP.NET Page

MikeB