Making a list with radio buttons

I

Ian Toltz

I'm working on a "pokédex" for people who play Pokémon. I need to have
a list of all the pokémon, along with a set of radiobuttons for each.

I've initially tried a ListView control, with the details view, but if
it's possible to add a radio button I can't figure out how.

I know that I've seen an example of an application that had a list of
things with checkboxes before when I was first learning c#, but I
can't for the life of my remember where or what control they used.

You can see an example of what I'm working on here:
http://www.asmor.com/images/post/07-05-15/pokedexscreen01.jpg

Ideally there would be a radio button under the N, S and H columns for
each line (and each line's radio buttons would be a "group," i.e. only
one of the three can be checked at any time).

I'm guessing there's some other control that's better suited to this
task. Suggestions?
 
J

Johnny Jörgensen

Try to have a look at this:

http://www.codeproject.com/cs/combobox/RadioListBox.asp

Looks nice, but I haven't tried it.

Cheers,
Johnny J.





I'm working on a "pokédex" for people who play Pokémon. I need to have
a list of all the pokémon, along with a set of radiobuttons for each.

I've initially tried a ListView control, with the details view, but if
it's possible to add a radio button I can't figure out how.

I know that I've seen an example of an application that had a list of
things with checkboxes before when I was first learning c#, but I
can't for the life of my remember where or what control they used.

You can see an example of what I'm working on here:
http://www.asmor.com/images/post/07-05-15/pokedexscreen01.jpg

Ideally there would be a radio button under the N, S and H columns for
each line (and each line's radio buttons would be a "group," i.e. only
one of the three can be checked at any time).

I'm guessing there's some other control that's better suited to this
task. Suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top