This is a migrated thread and some comments may be shown as answers.

RadioButtonList in RadGrid formatting issue

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Timothy Kruszewski
Top achievements
Rank 1
Timothy Kruszewski asked on 23 Aug 2010, 12:54 AM
Can someone please tell me how to remove the lines from the radio button list when used in a RadGridControl? 

<telerik:GridTemplateColumn ItemStyle-Width="80px">
                                        <ItemTemplate>
                                            <asp:RadioButtonList ID="HASelection" runat="server" RepeatColumns="1" RepeatDirection="Vertical">
                                            </asp:RadioButtonList>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 23 Aug 2010, 10:04 AM
Hello Timothy,

The borders are inherited from the RadGrid skin. The RadioButtonList uses a <table> for constructing its layout and its table cells apply the RadGrid border styles. Please add this CSS rule to your web page:

.RadGrid  .rgRow  td  td,
.RadGrid  .rgAltRow  td  td
{
         border-width: 0;
         padding: 0 ;
}

(you can change the padding to suit your preferences).

All the best,
Dimo
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
Tags
Grid
Asked by
Timothy Kruszewski
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or