How can I make my RadioButtonList show up stacked vertically?
-
03-07-2019 - |
Question
I have a RadioButtonList
on my .aspx page and I load it in the codebehind.
How can I have it show vertically?
Solution
Change the RepeatDirection to Vertical. You might also want to look at using RepeatLayout=Flow if you have problems getting it to render the way you want. Often, I'll use RepeatLayout=Flow and assign a CssClass to handle styling.
OTHER TIPS
RepeatDirection=Vertical
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow