Author: DanBlack101 | Posted on: 12/31/2008 5:02:51 AM | Views : 277

Hi,

I have a form made up of dynamic controls. Some of the controls (checkbox) I cannot access in the code behind, but some I can (textbox).

 From the html source:

..<input name="ctl00$Content$ctl00" type="text" class="TextInput" />...

...<input id="ctl00_Content_ctl01_0" type="checkbox" name="ctl00$Content$ctl01$0" />...

When debugging (on submit) from code behind:

Request.Form["ctl00$Content$ctl00"]       (the textbox) exists

Request.Form[="ctl00$Content$ctl01$0"]     (the checkbox) does NOT exist

 

Any help would be greatly appreciated, been stuck on this for 2 days!! Please request if more info would help.

 Thanks
...

Go to the complete details ...