Chad Roeder

Chad Roeder

  • NA
  • 4
  • 0

Accessing Dynamic Controls in Repeater

Aug 18 2009 1:49 AM
I have a repeater that I am dynamically generating controls for based on some DB data using a class inheriting ITemplate. I am currently generating a checkbox and a textbox for each row in the DB which is working fine. The problem is that I want the textbox to be invisible until the user clicks the checkbox corresponding to the adjacent textbox. I have wired up the click changed event, but I cannot access the textbox only the checkbox. Should I use a Delegate or some other method of enabling and disabling the visibility of the textbox.

Answers (2)