Datagrid paging. It's not changing from page to page.

Discussion in 'ASP .Net' started by Shapper, Jun 22, 2005.

  1. Shapper

    Shapper Guest

    Hello,

    I created a datagrid with:
    AllowPaging="True"
    PageSize="2"

    The page size is correct and I see the navigation buttons "next" and
    "previous", however when I click "next" the datagrid doesn't change to
    second page.

    Why?

    Thanks,
    Miguel
     
    Shapper, Jun 22, 2005
    #1
    1. Advertising

  2. Shapper

    Tod Birdsall Guest

    Tod Birdsall, Jun 22, 2005
    #2
    1. Advertising

  3. Shapper

    Guest Guest

    you need to specify OnPageIndexChanged=

    in case u r not aware of, there is a DataGridControl newsgroup
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    HTH

    "Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
    news:...
    > Hello,
    >
    > I created a datagrid with:
    > AllowPaging="True"
    > PageSize="2"
    >
    > The page size is correct and I see the navigation buttons "next" and
    > "previous", however when I click "next" the datagrid doesn't change to
    > second page.
    >
    > Why?
    >
    > Thanks,
    > Miguel
    >
     
    Guest, Jun 22, 2005
    #3
    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. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    DataSet paging vs Datareader paging

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    10,793
    Scott Allen
    Oct 8, 2004
  2. wh1974
    Replies:
    0
    Views:
    2,454
    wh1974
    Jan 12, 2005
  3. Red
    Replies:
    1
    Views:
    737
  4. Steve Hershoff
    Replies:
    0
    Views:
    415
    Steve Hershoff
    Aug 9, 2006
  5. Chris Lee

    Datagrid Paging Not Displayinig Correct Page

    Chris Lee, Sep 9, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    156
    Chris Lee
    Sep 9, 2003
Loading...

Share This Page