Datagrid custom paging numbers wrong

Discussion in 'ASP .Net Web Controls' started by Andrew, Jul 9, 2004.

  1. Andrew

    Andrew Guest

    I'm attempting to use Custom Paging with my Datagrid and I'm running into a problem with the numeric page indicator.

    When I load my page I set the VirtualItemCount value to the total number of records e.g. 50 and then go and get 5 records which is my page size.

    The problem I'm finding is that the paging part of the control only ever displays the numeric 1 when I'm expecting it to display 1 2 3 4 5 6 7 8 9
    etc.

    Everything else on my page - sorting etc is working great and also I can get the PageIndexChanged event to fire.


    Any thoughts

    Thanks
    Andrew
     
    Andrew, Jul 9, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wh1974
    Replies:
    0
    Views:
    2,454
    wh1974
    Jan 12, 2005
  2. Red
    Replies:
    1
    Views:
    735
  3. Patrick.O.Ige
    Replies:
    3
    Views:
    536
    Patrick.O.Ige
    Oct 17, 2005
  4. Andrew

    Custom Paging Numbers wrong

    Andrew, Jul 9, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    119
    Saravana [MVP]
    Jul 12, 2004
  5. Colin Graham

    Datagrid Paging Not Showing Numbers

    Colin Graham, Nov 10, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    107
    Ken Cox [Microsoft MVP]
    Nov 10, 2004
Loading...

Share This Page