Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i have no idea on how to resolve gridview events are executing twice with one hit like, rowupdating,rowcanceling and rowdeleting events please give me solution i am facing lot of problems.
Posted
Updated 5-Mar-12 0:21am
v2
Comments
Ra-one 5-Mar-12 6:26am    
Please post the code to better understand the problem...
Anuja Pawar Indore 5-Mar-12 6:29am    
Without looking your code, its very difficult to guess the reason. So use improve question to add your code

1 solution

It used to be an issue only in Chrome; not in IE or FireFox browsers.

As a workaround, you can put a condition in the GridView_RowDeleting to verify if the row is deleted or not then accordingly you can cancel the Rowdeleting by
C#
e.cancel =true;
 
Share this answer
 
Comments
Madhugundi 5-Mar-12 14:00pm    
Thank u and give me code for how check whether the row deleted or not please

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900