+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Manage carriage return in News title

Manage carriage return in News title

2 posts, 0 answered
  1. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    Registered:
    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
    the
    meeting of April 1
    "



    Any idea?
    Best regards, 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    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