question about asp:RadioButtonList

U

Utada P.W. SIU

<asp:RadioButtonList></asp:RadioButtonList>

only allow create a vertical radion button list

how can I use it to create a horizatial radio button list?

thanks~
 
K

Karl Seguin

I believe you are looking for the RepeatDirection property try setting it
to Horizontal.

Other properties of interest might be RepeatColumns (how many columns to use
before wrapping to the next line) and RepeatLayout (table or flow) to
control how the radiolist is generated (in a table or using span's
respectively)

Karl
 
J

Juan T. Llibre

Use

RadioButtonList1.RepeatDirection = RepeatDirection.Horizontal



Juan T. Llibre
ASP.NET MVP
===========
 

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

Similar Threads


Top