More in this section
Forums / Developing with Sitefinity / Pull limited content to web control

Pull limited content to web control

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. spidermonkey
    spidermonkey avatar
    1 posts
    11 Feb 2010
    12 Feb 2010
    Link to this post
    Is there a standard web control which allows you to pull a certain amount of content from another content page on your site? For instance, the control would grab the first 200 characters of the latest news post. Or is this something that requires custom development?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    12 Feb 2010
    Link to this post
    Hello Marek C,

    You could use SummarySettings class

    sample code

    SummarySettings settings = new SummarySettings();
    settings.Count = 10;
    settings.Mode = SummarySettings.SummaryMode.Words;

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered