Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Custom Paging

Reply
Thread Tools

Custom Paging

 
 
aspnetpal
Guest
Posts: n/a
 
      02-15-2005
Hi every1, I'm having problem with custom paging.
I've used the sample from dotnetjunkies Thanks to Doug for putting
together such a wonderful example.

I've made some changes to fit the needs.

Problem on Hand:
When user clicks on the Navigation links (First, Next, Prev, or Last)
after page load it still loads the same first page.
However after the page load it changes the number of page.
For example, Page # of Total_Pages will change to
Page 2 of Total_Pages.

This shows that Item collections works (implemented using stored
procedure ...).

Here's my guess, for some reason I'm thinking the following line of
code is not working.

Case "Next"
_currentPageNumber = Int32.Parse(CurrentPage.Text) + 1

or maybe I'm missing something ...

Any suggestions or help would be highly apprecitated.
If you like to see any part of the code let me know and I can post it.

Thanks in advance.

 
Reply With Quote
 
 
 
Reply

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
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
DataSet paging vs Datareader paging =?Utf-8?B?UGF0cmljay5PLklnZQ==?= ASP .Net 1 10-08-2004 02:13 PM
Paging Dr. Who, Paging Dr. Who... Father_Sicko@TheOrphanage.com Computer Security 1 07-02-2004 08:59 PM
Re: Custom paging Saravana ASP .Net 0 07-10-2003 04:16 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57