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

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. Dan
    Dan avatar
    23 posts
    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.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    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