RadioButtonList layout problem

G

Guest

I have a RadioButtonList with layout vertical. And having 2 columns.
Let's say I have 6 items.
It will create this look:
o o
o o
o o

What I want is to look like:
o o
o o
o
o

That is to put 4 items in one column and 2 in another.
How do I do it. If I can at all?

Thanks,
Oleg
 
C

Curt_C [MVP]

Oleg said:
I have a RadioButtonList with layout vertical. And having 2 columns.
Let's say I have 6 items.
It will create this look:
o o
o o
o o

What I want is to look like:
o o
o o
o
o

That is to put 4 items in one column and 2 in another.
How do I do it. If I can at all?

Thanks,
Oleg

Nope, dont believe so.
Dont use the List, use individuals with the same groupname instead, then
you can have better layout control
 
E

Eliyahu Goldin

Oleg,

Use separate radiobuttons rather than a RadioButtonList and put them inside
an html table in the way you want. Assign the same GroupName to all the
buttons.

Eliyahu
 
G

Guest

Is there any way to refer to all radio button controls(with the same
groupname) as a collections in code? That is without naming all of them.
Oleg
 
C

Curt_C [MVP]

Oleg said:
Is there any way to refer to all radio button controls(with the same
groupname) as a collections in code? That is without naming all of them.

for what purpose? You give them all the same "groupname" but individual
id's..
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top