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

Forums / Developing with Sitefinity / News starting row

News starting row

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

    Is there a way in newView control to set the starting row from the second record/row?

    thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    16 Dec 2009
    Link to this post
    Hello Zahid Ali,

    There is no built in functionality that will allow you to specify from which item the binding starts. You need to create custom control that inherits from NewsView and override CreateDataSource() method from where you can pass a list of IContent items. You can use GetContent( int min, int max, sortExp) method of ContentManager class.


    Kind regards,
    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