質問

I am using a Radio Button List in my app with 2 options. In the page, it is displayed in 2 different lines(one below the other). Can we display it in a single line?

役に立ちましたか?

解決

Just set RepeatDirection property to of the radiobuttonlist' to"Horizontal"`

<asp:RadioButtonList RepeatDirection="Horizontal " runat="server">
Some Content
</asp:RadioButtonList > 

By default, RepeatDirection is set to Vertical. Setting this property to Horizontal will render the list horizontally.

MSDN Refrence

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top