paging in a datalist

Discussion in 'ASP .Net' started by Aussie Rules, Sep 24, 2007.

  1. Aussie Rules

    Aussie Rules Guest

    Hi,

    Is it possible to have some sort of paging (prev/next page) feature with the
    data list.

    I have a datalist, that can display several hundred items, and I want to
    have say 20 to a page.

    Thanks
    Aussie Rules, Sep 24, 2007
    #1
    1. Advertising

  2. Hi

    There's no built-in paging with the DataList control, like there is
    with GridView, but you can build your own.
    This article has more info:

    Efficient Data Paging with the ASP.NET 2.0 DataList Control and
    ObjectDataSource
    http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx

    Chris

    On Sep 25, 8:33 am, "Aussie Rules" <> wrote:
    > Hi,
    >
    > Is it possible to have some sort of paging (prev/next page) feature with the
    > data list.
    >
    > I have a datalist, that can display several hundred items, and I want to
    > have say 20 to a page.
    >
    > Thanks
    Chris Fulstow, Sep 25, 2007
    #2
    1. Advertising

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. Mauricio Bastos

    DataList Paging

    Mauricio Bastos, Feb 16, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    547
    Mauricio Bastos
    Feb 16, 2004
  2. Nevyn Twyll
    Replies:
    8
    Views:
    1,866
  3. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    10,681
    Scott Allen
    Oct 8, 2004
  4. wh1974
    Replies:
    0
    Views:
    2,428
    wh1974
    Jan 12, 2005
  5. Red
    Replies:
    1
    Views:
    714
Loading...

Share This Page