By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,044 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,044 IT Pros & Developers. It's quick & easy.

page.findcontrol

P: n/a
Hello,
I have a bunch of controls with unique IDs as below:

<INPUT VALUE='1' id=chkbox1-1 NAME=CheckBox1 TYPE=Radio runat=server>

these HTML controls r wrapped in a plain table. When I do a
page.findcontrol("chkbox1-1"), I am unable to find the control. Can I
get an handle of the control and their values programmatically.
Thanks,
Sam.

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
that might be an invalid id

<sr*****@mailcity.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Hello,
I have a bunch of controls with unique IDs as below:

<INPUT VALUE='1' id=chkbox1-1 NAME=CheckBox1 TYPE=Radio runat=server>

these HTML controls r wrapped in a plain table. When I do a
page.findcontrol("chkbox1-1"), I am unable to find the control. Can I
get an handle of the control and their values programmatically.
Thanks,
Sam.

Nov 19 '05 #2

P: n/a
Yeah, i'm 99% sure that you can't use a "-" in an ID.

"David Jessee" wrote:
that might be an invalid id

<sr*****@mailcity.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Hello,
I have a bunch of controls with unique IDs as below:

<INPUT VALUE='1' id=chkbox1-1 NAME=CheckBox1 TYPE=Radio runat=server>

these HTML controls r wrapped in a plain table. When I do a
page.findcontrol("chkbox1-1"), I am unable to find the control. Can I
get an handle of the control and their values programmatically.
Thanks,
Sam.


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.