"Custom" Paging

Discussion in 'ASP .Net Datagrid Control' started by George Durzi, Sep 22, 2003.

  1. George Durzi

    George Durzi Guest

    I'm looking to implement this paging for a list of clients. Instead of
    paging with page numbers, or < and >. I want to provide A through Z for the
    first letter of the last name of the client.

    Hitting B for example, will give me the list of all clients with a last name
    starting with B

    Has this been done? Can anyone point me to an example?

    Many thanks
     
    George Durzi, Sep 22, 2003
    #1
    1. Advertisements

  2. Hi George,

    Check this out?

    Letter/Alphanumeric Based Paging in ASP.NET
    By Joseph S. Keller

    http://www.codeproject.com/aspnet/LetterBasedPaging.asp


    --

    Important: Patch Windows *beyond* Blaster.
    http://www.microsoft.com/technet/security/bulletin/MS03-039.asp


    "George Durzi" <gdurzi@nospam_hotmail.com> wrote in message
    news:...
    I'm looking to implement this paging for a list of clients. Instead of
    paging with page numbers, or < and >. I want to provide A through Z for the
    first letter of the last name of the client.

    Hitting B for example, will give me the list of all clients with a last name
    starting with B

    Has this been done? Can anyone point me to an example?

    Many thanks
     
    Ken Cox [Microsoft MVP], Sep 23, 2003
    #2
    1. Advertisements

  3. George Durzi

    George Durzi Guest

    Thank you Ken!

    "Ken Cox [Microsoft MVP]" <> wrote in message
    news:...
    > Hi George,
    >
    > Check this out?
    >
    > Letter/Alphanumeric Based Paging in ASP.NET
    > By Joseph S. Keller
    >
    > http://www.codeproject.com/aspnet/LetterBasedPaging.asp
    >
    >
    > --
    >
    > Important: Patch Windows *beyond* Blaster.
    > http://www.microsoft.com/technet/security/bulletin/MS03-039.asp
    >
    >
    > "George Durzi" <gdurzi@nospam_hotmail.com> wrote in message
    > news:...
    > I'm looking to implement this paging for a list of clients. Instead of
    > paging with page numbers, or < and >. I want to provide A through Z for

    the
    > first letter of the last name of the client.
    >
    > Hitting B for example, will give me the list of all clients with a last

    name
    > starting with B
    >
    > Has this been done? Can anyone point me to an example?
    >
    > Many thanks
    >
    >
    >
     
    George Durzi, Sep 23, 2003
    #3
  4. What you're asking for is non-trivial, but can be done by extending the
    control and overriding the OnItemCreated method -- the problem is, when you
    get the e.ItemType.Pager (the property sent in the OnItemCreated method),
    you have to remove all the controls (the page numbers are LinkButtons, by
    the way) and add your own...



    "George Durzi" <gdurzi@nospam_hotmail.com> wrote in message
    news:...
    > I'm looking to implement this paging for a list of clients. Instead of
    > paging with page numbers, or < and >. I want to provide A through Z for

    the
    > first letter of the last name of the client.
    >
    > Hitting B for example, will give me the list of all clients with a last

    name
    > starting with B
    >
    > Has this been done? Can anyone point me to an example?
    >
    > Many thanks
    >
    >
     
    Alan Corbett \(.NET MVP\), Sep 25, 2003
    #4
    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:
    703
    Chuck Haeberle
    Jul 24, 2003
  2. Joseph D. DeJohn

    Custom Paging Efficiency

    Joseph D. DeJohn, Aug 6, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    478
    S. Justin Gengo
    Aug 6, 2003
  3. Flare
    Replies:
    0
    Views:
    433
    Flare
    Aug 26, 2003
  4. Mo

    Custom Paging

    Mo, Dec 24, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    505
    Saravana [MVP]
    Dec 26, 2003
  5. Mo
    Replies:
    1
    Views:
    4,416
    FFlannery
    Jan 30, 2004
  6. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    11,392
    Scott Allen
    Oct 8, 2004
  7. wh1974
    Replies:
    0
    Views:
    2,741
    wh1974
    Jan 12, 2005
  8. Red
    Replies:
    1
    Views:
    919
Loading...