Datagrid Last Page Problem

Discussion in 'ASP .Net Datagrid Control' started by allan.russell@gmail.com, Sep 13, 2006.

  1. Guest

    Hi guys,

    I've created a custom datagrid control that has filtering on the
    dataview for users to search. The control works perfectly normal if
    there is no filter, and pages back and forth fine. If I have a filter
    on the grid I can page back forth fine as well, unless I'm on the last
    page. If I have 3 pages in my results and I go to page 3, when I try
    to go back to page 2 the grid seemingly refreshes, and stays on page 3,
    showing ALL unfiltered results. If I click page 2 again it goes there
    as normal, filtered the way it should be. When this happens the Page
    event is not fired for some reason on that first click where it shows
    all data. It seems as if it's only happening when the last page
    contains less records than my pagesize.

    Any ideas on what's causing this or how I can get the paging event to
    fire there? Any help would be greatly appreciated. Thanks in advance.

    Allan
     
    , Sep 13, 2006
    #1
    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. sangram
    Replies:
    16
    Views:
    1,991
  2. Johny
    Replies:
    8
    Views:
    393
  3. Phil Johnson

    Datagrid - Row height on last page

    Phil Johnson, Mar 11, 2008, in forum: ASP .Net
    Replies:
    3
    Views:
    354
    Eliyahu Goldin
    Mar 11, 2008
  4. Toby Mills

    Datagrid CurrentPageIndex causes error on last page

    Toby Mills, Sep 16, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    147
    Toby Mills
    Sep 23, 2003
  5. roberto
    Replies:
    1
    Views:
    225
    roberto
    Feb 17, 2005
Loading...

Share This Page