Try Now
More in this section

Forums / Designing & Styling / RadListView ItemSeparatorTemplate

RadListView ItemSeparatorTemplate

3 posts, 0 answered
  1. Gaston County
    Gaston County avatar
    38 posts
    23 Feb 2012
    24 Feb 2011
    Link to this post
    Hi all,

    Can someone clue me in why the ItemSeparatorTemplate is not rendering in this RadListView?

    <%@ Control Language="C#" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.Comments" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.PublicControls.BrowseAndEdit" Assembly="Telerik.Sitefinity" %>
    <telerik:RadListView ID="NewsList" ItemPlaceholderID="ItemsContainer" runat="server" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false">
            <sf:ContentBrowseAndEditToolbar ID="MainBrowseAndEditToolbar" runat="server" Mode="Add"></sf:ContentBrowseAndEditToolbar>
            <div class="newsArchive">
                <asp:PlaceHolder ID="ItemsContainer" runat="server" />
               <div class="article">
                         <div class="publicationDate">
                       <div class="day"><sf:FieldListView ID="PublicationDateDay" runat="server" Format="{PublicationDate.ToLocal():dd}" /></div>
                       <div class="month">
                                                 <sf:FieldListView ID="PublicationDateMonth" runat="server" Format="{PublicationDate.ToLocal():MMM}" /></div>
                    <div class="year"><sf:FieldListView ID="PublicationDateYear" runat="server" Format="{PublicationDate.ToLocal():yyyy}" /></div>
              <sf:FieldListView ID="title" runat="server" Text="{0}" Properties="Title"  />
        <sf:FieldListView ID="summary" runat="server" Text="{0}" Properties="Summary" WrapperTagName="p" />
         <div class="articleLinkWrapper">
                          <sf:DetailsViewHyperLink ID="FullStory" Text="read more" runat="server" CssClass="articleLink" />
                          <sf:ContentBrowseAndEditToolbar ID="BrowseAndEditToolbar" runat="server" Mode="Edit,Delete,Unpublish" /> 
                  <hr />
    <sf:Pager id="pager" runat="server"></sf:Pager>
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Apr 2017
    25 Feb 2011
    Link to this post
    Hello Zak,

    Try using this one

    <hr style="border: 1px solid #000;" />

    Kind regards,
    Ivan Dimitrov
    the Telerik team
  3. Gaston County
    Gaston County avatar
    38 posts
    23 Feb 2012
    25 Feb 2011
    Link to this post

    This is extremely strange. If my <hr /> doesn't have some sort of attribute on it--style, class, etc.--it doesn't even render in the HTML. Is this expected behavior?
3 posts, 0 answered