G
Guest
Hi,
i'm using a gridView and an sqlDataSource.
I've added a Delete CommandField in Columns collection (instead
AutoGenerateDeleteButton)
But when i clic on my CommandField, postback is executed two times and
events are fired in this order :
myGridView_RowDeleting
mySqlDataSource_Deleting
mySqlDataSource_Deleted
myGridView_RowDeleted
myGridView_RowDeleting
mySqlDataSource_Deleting
mySqlDataSource_Deleted
myGridView_RowDeleted
so, i tryed to use a AutoGeneratedDelete and it works well (events are fired
one time)
Does anaybody know this problem ?
Thanks
i'm using a gridView and an sqlDataSource.
I've added a Delete CommandField in Columns collection (instead
AutoGenerateDeleteButton)
But when i clic on my CommandField, postback is executed two times and
events are fired in this order :
myGridView_RowDeleting
mySqlDataSource_Deleting
mySqlDataSource_Deleted
myGridView_RowDeleted
myGridView_RowDeleting
mySqlDataSource_Deleting
mySqlDataSource_Deleted
myGridView_RowDeleted
so, i tryed to use a AutoGeneratedDelete and it works well (events are fired
one time)
Does anaybody know this problem ?
Thanks