DataGrid RowDeleting event problem
Hi all,
I am working with asp.net 2.0 and i am using a datagrid in which i use an button to delete an an item and it works perfectly if i dont call a confirmation javascript. i bind the javascript function in rawdatabound event to that button. when i use this javascript confirmation, the RowDeleting event doesnt get fired. but page load occures. Any idea friends?
Thanks in advance.
Ali
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nipun TomarRank #90 · 23K reputationPosted Jan 16, 2007, 12:10 PM EST
Ganesh14 reputationPosted Jan 19, 2007, 1:03 PM EST
Make sure that you have the event defined in the source view. put a debugger on the row deleted event handler and when you click on the javascript "ok" button, then you should be directed to the row deleted or on deleting event. if you can share the code, you can get a better solution