Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Add another workaround to problem

Add another workaround to problem

  • Posted on Jun 17, 2010 (permalink)

    <asp:RadioButtonList ID="RadioButtonList1" runat="server" CssClass="MyRadioButtonList">
                      <asp:ListItem Value="Sehr geehrter Herr">Herr</asp:ListItem>
                      <asp:ListItem Value="Sehr geehrte Frau">Frau</asp:ListItem>
                  </asp:RadioButtonList>
    Hi there

    I refer to
    http://www.sitefinity.com/devnet/kb/sitefinity-3-x/rendering-radiobuttonlist.aspx

    There is a CSS workaround as well. Might be worth mentioning.

    <style type="text/css">
      
    .MyRadioButtonList
    {
      width: 150px;
        list-style-type: none;
        margin-left:0px;
        margin-top:10px;
        overflow: auto;
    }
    .MyRadioButtonList li
    {
        width: 50px;
        float: left;
        padding: 0 10px 0 10px;
    }
    </style>

    Regards Markus

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Jun 17, 2010 (permalink)

    Hi Markus,

    I will convert this thread to a forum one so that it is visible to other community members. Thank you for sharing this.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on Jun 17, 2010 (permalink)

    Dear Radoslav

    Can you have at both places.

    I came across the aricle searching with google going nuts why the dumb radiobuttons would not render horizontally.

    Somehow I think it would be nice to have a sticki thread of the most comon problems of people.

    I guess that you will have a lot of questions you have to answer over and over again.

    _blank
    radiobuttons

    and stuff like that.

    So if you can find it at multiple places it might help.

    Markus

    Reply

  • Georgi Georgi admin's avatar

    Posted on Jun 18, 2010 (permalink)

    Hello Markus Berchtold,

    We have changed the KB Article, so it gives a reference to this forum post as well.
    Thanks!

    Sincerely yours,
    Georgi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on Mar 22, 2012 (permalink)

    Hello,

    I have used the above style class with these properties
    RepeatColumns = 2;
    RepeatLayout = RepeatLayout.Table;
    RepeatDirection = RepeatDirection.Horizontal;

    But I am not able to render RadioButtonList in Table format. It is always rendered in unordered list format. Is there any CSS style for table format also..

    Thanks
    Saquib.

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Add another workaround to problem