View Single Post
  #20 (permalink)  
Old 08-03-2007, 05:19 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 350
Venkat is on a distinguished road
Thumbs up Re: Implementation Data Controls in asp.net

Hi,

Are you defining the name of your checkbox explicitly? It is not enough to just define the item, you need to set its ID property or it won't be found by findcontrol:

CheckBox chkMyBox = new CheckBox();
chkMyBox.ID = "chkMyBox";
Reply With Quote