Server Control - Datagrid Paging - Previous Page events not firing

Discussion in 'ASP .Net Web Controls' started by Christopher Pragash, Jul 22, 2004.

  1. Hello All

    I am having a pretty wired problem...I am writing a web part (SPS 2003) that
    uses a Datagrid. In the web part, I create the datagird assign some
    properties and add event handlers for paging and sorting using AddHandler.
    While browsing, I sort the grid and do paging, it works fine for increasing
    page numbers...ie if I go from 1 - to - 2 - to - 3 the sort is maintained
    and the paging works fine. If I come back to page 2 from page 3, the post
    back occurs, but the paging event is not fired at all and the page remains
    at page 3. I have tried debugging, but could not figure out whats causing
    this...

    Any thoughts or help would be really great.

    Thanks,
    Chris
     
    Christopher Pragash, Jul 22, 2004
    #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. Christopher Pragash
    Replies:
    1
    Views:
    486
  2. Guest
    Replies:
    2
    Views:
    572
    Walter Wang [MSFT]
    Jul 17, 2006
  3. SevDer
    Replies:
    2
    Views:
    1,304
    Walter Wang [MSFT]
    Nov 13, 2007
  4. Christopher Pragash

    Server Control - Datagrid paging event - not firing for previous pages

    Christopher Pragash, Jul 22, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    112
    Christopher Pragash
    Jul 22, 2004
  5. Christopher Pragash

    Server Control - DataGrid Paging event - not firing for Previous pages

    Christopher Pragash, Jul 22, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    124
    Christopher Pragash
    Jul 22, 2004
Loading...

Share This Page