Dynamic Radio Button Problem

  • Thread starter Thread starter JM
  • Start date Start date
J

JM

I have created an ASP.Net page that adds radio buttons dynamically to a
table. All works fine and they display and work correctly. I also have a
server side button, when I click this how do I detect which radio button has
been checked.
The problem is that the name of the radio button only exists at run time.
I'm probably missing the obvious but, I am a bear of little brain.

Thanks in advance.

John
 
AddHandler is the keyword you are looking for. It allows you to dynamically
hook up events at runtime:


AddHandler MyObject.Event1, AddressOf MyEventHandler
 
Back
Top