More in this section

Forums / Developing with Sitefinity / ExpandedListView Template

ExpandedListView Template

2 posts, 0 answered
  1. Mark
    Mark avatar
    7 posts
    16 Mar 2009
    01 Apr 2009
    Link to this post
    I'm trying to customize the look of an expandedlistview.  So I downloaded and modified the expandedlistview.ascx file to look like this:

    <asp:Repeater ID="lists" runat="server"
            <asp:Repeater ID="listItems" runat="server"
                    <h4><asp:Literal ID="headline" runat="server" /></h4
                    <asp:Literal ID="content" runat="server" /> 

    When I look at the page source, I'm getting a span and a p tag that I don't want.

    <h4>What is the maximum amount I can receive from my employer?</h4> 
    <span style="font-size: 13px;"<p>$120 per month.</p></span

    How can I get rid of those extra html tags?
  2. Katia
    Katia avatar
    194 posts
    01 Jul 2016
    02 Apr 2009
    Link to this post
    Hello Mark,

    These tags (SPAN and P) don't come from the template but from the List module.
    Go to the module, open the particular list, then click edit for the particular list item and switch to HTML mode in RadEditor. Delete the tags you don't need and save the item.

    Best wishes,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
2 posts, 0 answered