3 Answers, 1 is accepted
0
Accepted
Princy
Top achievements
Rank 2
answered on 01 Nov 2012, 09:51 AM
Hi Allan,
I suppose you want to remove the default border, which browsers apply to <fieldset> elements. Try styling the fieldset as follows to remove the default border.
ASPX:
Hope this helps.
Regards,
Princy.
I suppose you want to remove the default border, which browsers apply to <fieldset> elements. Try styling the fieldset as follows to remove the default border.
ASPX:
<telerik:RadListView ID="RadListView1" runat="server" ItemPlaceholderID="PlaceHolder1" ....> <LayoutTemplate> <fieldset style="border: none;" > <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder> </fieldset> </LayoutTemplate> <ItemTemplate> .......... </ItemTemplate></telerik:RadListView>Hope this helps.
Regards,
Princy.
0
Jacob
Top achievements
Rank 1
answered on 22 Jan 2013, 08:30 PM
Hi,
I have tryed you solution but i cant get it to work. It still show the border around the listview?
Hope you are able to help
Regards,
Jacob
I have tryed you solution but i cant get it to work. It still show the border around the listview?
Hope you are able to help
Regards,
Jacob
<telerik:RadListView runat="server" ID="ActivityListView" AllowPaging="False" DataKeyNames="Id" BorderWidth="0px" BorderStyle="None"> <ItemTemplate> <fieldset style="border: none;"> <div class="infotext" style="border: none;"> <asp:Label ID="DateLabel" CssClass="act_date" runat="server" Text='<%# Eval("ActivityDate", "{0:dd MMMM yyyy}") %>'></asp:Label> <br/> <asp:Label ID="HeaderTextLabel" CssClass="act_header" runat="server" Text='<%# Eval("HeaderText") %>'></asp:Label> <br /> </div> </fieldset> </ItemTemplate> <EmptyDataTemplate> <div class="RadListView RadListView_<%# Container.Skin %>"> <div class="infotext"> Ingen aktiviteter.</div> </div> </EmptyDataTemplate> <LayoutTemplate> <div class="RadListView RadListView_<%# Container.Skin %>"> <div id="itemPlaceholder" runat="server"> </div> </div> </LayoutTemplate> </telerik:RadListView>0
Hello Jacob,
Please try to apply the styling to the LayoutTemplate instead and let us know about the result.
Kind regards,
Eyup
the Telerik team
Please try to apply the styling to the LayoutTemplate instead and let us know about the result.
Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
