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

Forums / Developing with Sitefinity / Only display a few lines in a single news item

Only display a few lines in a single news item

2 posts, 0 answered
  1. Dan
    Dan avatar
    23 posts
    Registered:
    04 Dec 2010
    26 Mar 2011
    Link to this post
    Suppose I have a news view control on a page and i'm using it to display an article. Is it possible to only show the first few lines of the article? The reason is that I want to give a sample of the article but require users to login to view the entire article.

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    29 Mar 2011
    Link to this post
    Hi Dan,

    You can set the control to show news summary instead of its content. This could be done from the ControlDesigner of the news view control, when you open the control for editing there is a settings section from where you can configure TextSettings for the ContentView based controls.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered