Posted on: 6/23/2012 8:19:29 PM | Views : 283

Hi,
http://binaryjack.com/userControl.aspx
Each record is displayed using a user control. I have the delete button embedded in the user control. 
Recreate Problem: click the first DELETE button, the last row gets deleted; after this I have to click the delete button (any of them) twice to make it work. 
1) Is it bad practice to use a User Control (combined with a placeholder) to display a bunch of records? I query to get all records and then use a Foreach loop to populate each User Control and insert each UC into the placeholder.
2) Why does the Delete button not respond correctly? 
...

Go to the complete details ...