Server Control - Datagrid Paging - Previous Page events not firing

  • Thread starter Christopher Pragash
  • Start date
C

Christopher Pragash

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top