Delete row functionality does not appear to be work

3 replies. Last post: April 5, 2011 4:53 AM by Lili Khiung
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Peter JonesMember

Hi

 

i have code in the deleterow event to persist the changes back to the database.

althrough the row is removed from the grid the changes are not getting back to the database.

On investigation is appear that the rowstate property of the data row has not been changed.

i.e  rowstate = no change   where is should be marked as deleted.

(therefore not removed from the database)

 

if performing an edit  the editrow event is firing and the rowstate is marked as changed.

and works as expected. the database is updated.

 

why is the rowstate not being marked up in the delete row event?

Am i looking at the wrong event.

Note this worked fine in webgrid 3.5.

 

can you direct me in the right direction if i'm looking in the wrong place.

 

thanks

 

Peter

 

 

 

 

 

 

 

All times are GMT -5. The time now is 3:57 AM.
Previous Next