Custom Paging in datagrid

Discussion in 'ASP .Net Datagrid Control' started by anon, May 10, 2004.

  1. anon

    anon Guest

    hi all,
    i have tried implementing custom paging using the example from 4 guys
    from rolla....however example doesnot work as desired.....i.e when the
    pagecount is 1...and current page index is 0(for the first page...then
    nothing hapens and it does not move to next page...am i missing
    something?

    http://www.4guysfromrolla.com/webtech/code/CustPaging.aspx.html

    this is the part i m talking about...
    Select arg
    Case "next":
    If (Pubs.CurrentPageIndex < (Pubs.PageCount - 1)) Then
    Pubs.CurrentPageIndex += 1
    End If

    note...i have implemented it in C#....but logic is the same

    thanks..
    Ben

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    anon, May 10, 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:
    701
    Chuck Haeberle
    Jul 24, 2003
  2. Flare
    Replies:
    0
    Views:
    432
    Flare
    Aug 26, 2003
  3. Mo
    Replies:
    1
    Views:
    4,416
    FFlannery
    Jan 30, 2004
  4. anon
    Replies:
    0
    Views:
    557
  5. SOS

    datagrid and custom paging

    SOS, Jun 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    376
  6. wh1974
    Replies:
    0
    Views:
    2,740
    wh1974
    Jan 12, 2005
  7. =?Utf-8?B?UmFlZCBTYXdhbGhh?=

    DataGrid Custom Paging Problem

    =?Utf-8?B?UmFlZCBTYXdhbGhh?=, Feb 16, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    473
    =?Utf-8?B?UmFlZCBTYXdhbGhh?=
    Feb 16, 2005
  8. Red
    Replies:
    1
    Views:
    919
Loading...