RadioButtonList layout problem

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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
 
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
 
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

Back
Top