Paging property is not working in a listview

1 posts, 0 answers
  1. Rohit
    Rohit avatar
    1 posts
    Member since:
    Apr 2012

    Posted 21 Sep 2012 Link to this post

    Hi All,
    The list of elements shown in a listview are not getting paged depending on the no. entered in the code in cshtml.
    For example :

        .DataSource(dataSource => {
            dataSource.Read(read => read.Action("Products_Read", "ListView"));

    Though we mention 12 in the pagesize, I am getting all my records to the view. Please help how to show the no. of
    records as per our choice.


Back to Top