How to create a horizontal layout RadioButtonList in asp.net

how to set radio button list horizontal in asp.net

When we create radiobutton list in asp.net then the radio button show verticaly, but we want inline radio button list, most of developers
facing this problem,

So here i am going to tell you how to create horizental inline radiobutton list.

here is the simple solution for creating Horizental radio button list just add (RepeatDirection=”Horizontal”)

  <h1>Horizental Radiobutton List</h1>
        <asp:RadioButtonList ID="RadioButtonList1" RepeatDirection="Horizontal" runat="server">
            <asp:ListItem Text="Standard"></asp:ListItem>
            <asp:ListItem Text="Silver"></asp:ListItem>
            <asp:ListItem Text="Gold"></asp:ListItem>
            <asp:ListItem Text="Diamond"></asp:ListItem>

        </asp:RadioButtonList>
Inline radio button list asp.net

Radio button list layout SCHAUHAN.IN
Horizental Radio button list
radio button list in same line horizental
how to change radiobutton list direction

Leave a Reply

avatar
  Subscribe  
Notify of