Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Datagrid custom paging numbers wrong

Thread Tools

Datagrid custom paging numbers wrong

Posts: n/a
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

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

Any thoughts

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having paging numbers and page count on the footer in Datagrid Patrick.O.Ige ASP .Net 3 10-17-2005 07:19 AM
Combining numeric mode paging and nextPreview paging in datagrid Red ASP .Net 1 03-12-2005 11:41 PM
datagrid paging - customising paging style wh1974 ASP .Net 0 01-12-2005 03:48 PM
Datagrid Paging Not Showing Numbers Colin Graham ASP .Net Web Controls 1 11-10-2004 01:40 PM
Custom Paging Numbers wrong Andrew ASP .Net Datagrid Control 1 07-12-2004 04:01 AM