Click here to Skip to main content
15,945,119 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have an image button as item template in all the rows of a gridview. A popup (with checkboxlist items, update and cancel button)will be displayed on clicking the image button. Say there are 4 rows in the gridview . For first row I click on the image button and I get a popup, I select few items from checkboxlist and hit update button. The values get updated. Now the problem is when I click on the image button in the second row the checkbox selections made in the previous row is not cleared. How to get rid of this problem? ? For each row I want the checkbox selection to be unique. That is : For the first row whichever item I selected, should be checked still. But for the other rows it should not reflect. Hope you understand.
Updated 21-Sep-11 22:34pm

1 solution

Hello friend when you try to update your selected check box value at that time when all operation performed or before closing the popup you need to deselect your all check box programmatic its will be in on closing popup, so for next time you will get fresh list of check box without pre selection.

try this...
Share this answer

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