More in this section
Forums / General Discussions / Manage carriage return in News title

Manage carriage return in News title

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    01 Jul 2010
    30 Mar 2011
    Link to this post
    Hi, i need to manage a carriage return in the news title. As the news title is plain text not in html format, i cannot manage a <br />.

    For example, cause the width is limited, the browser force the carriage return alter the word "of":
    I need something like this:
    "Great expectations for the meeting of
    April 1

    It's ugly. I prefer to control the breaks, so I can choose the format:
    "Great expectations for
    meeting of April 1

    Any idea?
    Best regards, 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    04 Apr 2011
    Link to this post
    Hello Bachar,

    You can use the external template ListPageMaster.ascx (how to map a template) Then, inside the template you can get the content item ( it is the repeater data item ) and can call GetMetaData("Title") which will return the title.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered