More in this section

Forums / Developing with Sitefinity / summary settings

summary settings

2 posts, 0 answered
  1. Zahid Ali
    Zahid Ali avatar
    47 posts
    16 Nov 2009
    16 Dec 2009
    Link to this post

    I have a control EventsView1, and i'd like to change the SummarySettings to change the word count.

    Looking at the usage documentation, it seems the count property can only be used to 'get' and not 'set'.

    So, how do I set this?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    16 Dec 2009
    Link to this post
    Hello Zahid Ali,

     You can use the following code or working through control designer

    SummarySettings settings = new SummarySettings(SummarySettings.SummaryMode.Words, 10, true, new string[]{});
    EventsView ev = new EventsView();
    ev.SummarySettings  = settings;

    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered