Gridview Problem
-
I am adding rows at runtime in a gridview with a remove button in every row. On clicking the remove button, the row having that remove button will be deleted. Problem steps:- 1. I added 2 rows and then click a remove button of second row the second row will be deleted. 2. press f5 to refresh the page and it will give ERROR !!! I think on clicking refresh it will fire the last event again but in this case, button that caused last event have been deleted so button id will not found and error will be generated. Can somebody tell me the solution !!!
Gaurav
-
I am adding rows at runtime in a gridview with a remove button in every row. On clicking the remove button, the row having that remove button will be deleted. Problem steps:- 1. I added 2 rows and then click a remove button of second row the second row will be deleted. 2. press f5 to refresh the page and it will give ERROR !!! I think on clicking refresh it will fire the last event again but in this case, button that caused last event have been deleted so button id will not found and error will be generated. Can somebody tell me the solution !!!
Gaurav
G.K.M. wrote:
ERROR
What ERROR?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson