469,898 Members | 1,620 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Creaing a control array of Radio Button in web application

Hello

I have 16 radio buttons and want to know how to create the array of these 16
controls. so the event handler remains one and execution happnes with respect
to the control index, like we do in vb6

is there any way to do this, or if any alternate suggestion will be very
helpful to me.

--
With Regards,
Raghavendra Mudugal
Nov 17 '05 #1
1 3539
I am not familiar with control arrays in VB6 but I would think it not too
hard to either use an ID naming scheme that allowed one to determine which
radio button generated the event. Map all to the same event handler. You
would have to typecast the "sender" parameter to test it's ID. Or one could
also create his own radio button type with an Index property by deriving from
the standard radio button control. Hope this helps.
--
Thom
"Raghavendra Mudugal" wrote:
Hello

I have 16 radio buttons and want to know how to create the array of these 16
controls. so the event handler remains one and execution happnes with respect
to the control index, like we do in vb6

is there any way to do this, or if any alternate suggestion will be very
helpful to me.

--
With Regards,
Raghavendra Mudugal

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Bob Cummings | last post: by
2 posts views Thread by fxs | last post: by
3 posts views Thread by B-Dog | last post: by
6 posts views Thread by loga123 | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.