I would like to iterate the collection of RadioButton controls on my WebForm.
I can go through the collection with this code:

Dim ctl as Control
Dim ctr as Integer
for each ctl in me.controls
if typeof ctl is LiteralControl then
ctr = ctr + 1
end if
next

This works to count the number of controls, but I also need to check the
Checked state of the radiobutton. I tried checking for typeof ctl is RadioButton,
but that returns a count of 0.

Is there any way I can check for whether the radio button is checked so I
can set a condition for a button? And what is a LiteralControl - the help
is less than illuminating?

Thanks,
Al Mowbray