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. Advertisements

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. Paul Hobbs
    Replies:
    1
    Views:
    692
    Chuck Haeberle
    Jul 24, 2003
  2. Flare
    Replies:
    0
    Views:
    430
    Flare
    Aug 26, 2003
  3. Mo
    Replies:
    1
    Views:
    4,408
    FFlannery
    Jan 30, 2004
  4. wh1974
    Replies:
    0
    Views:
    2,732
    wh1974
    Jan 12, 2005
  5. Red
    Replies:
    1
    Views:
    908
  6. Patrick.O.Ige
    Replies:
    3
    Views:
    679
    Patrick.O.Ige
    Oct 17, 2005
  7. Andrew

    Custom Paging Numbers wrong

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

    Datagrid Paging Not Showing Numbers

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