Creaing a control array of Radio Button in web application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
Back
Top