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

Forums / Developing with Sitefinity / asp:DataPager not appearing

asp:DataPager not appearing

3 posts, 0 answered
  1. Nicolas
    Nicolas avatar
    2 posts
    Registered:
    12 Nov 2008
    23 Jun 2014
    Link to this post

    This is being done in a Custom Control. We are using an asp:ListView which is being populated in the back end. This is working. We are then trying to add paging to this list through an asp:DataPager. This control is not displaying. 

    Our code is attached. 

    Any help will be appreciated.

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    08 Dec 2016
    24 Jun 2014
    Link to this post
    Hello Nicolas,

    Can you please make sure that you have set the PageControlID property of the DataPager control in order to specify the data that will be paged. 

    In addition, you can explore the following demo for more details on how you can use the DataPager and the RadDataPager.

    I found also the following articles which might be useful to you: 
    1. ListView - RadDataPager vs DataPager
    2. How to use ListView and DataPager in asp.net
    3. Paging ListView using DataPager without using DataSource Control
    4. Widget Template Paging Controls

    Regards,

    Sabrie Nedzhip
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Matt
    Matt avatar
    13 posts
    Registered:
    27 Jun 2013
    28 Jul 2014
    Link to this post

    Hi Nicolas,

    I seem to be experiencing a similar problem.  Were you able to resolve this issue?  If so, how did you fix the problem?

    Thanks,
    Matt

3 posts, 0 answered