+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Add another workaround to problem

Add another workaround to problem

5 posts, 0 answered
  1. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    17 Jun 2010
    Link to this post
    <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
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    17 Jun 2010
    Link to this post
    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
  3. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    17 Jun 2010
    Link to this post
    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
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    18 Jun 2010
    Link to this post
    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
  5. Saquib
    Saquib avatar
    1 posts
    Registered:
    20 Aug 2011
    22 Mar 2012
    Link to this post
    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.
Register for webinar
5 posts, 0 answered