Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Data Grid Paging Prev button does not fire the PageIndexChanged ev

Thread Tools

Data Grid Paging Prev button does not fire the PageIndexChanged ev

Mike Lashbrook
Posts: n/a
I am generating a datagrid programmatically. It is almost working, but the prev button does not seam to fire the PageIndexChanged Event. I can page forward through all of the list (the event fires as it should), but when I press prev, nothing happens (the event does not fire).

I tried setting it to the numeric pages instead of NextPrev. When I do this, it will fire the event for every page except page 1. If I navigate to page 4 then press the '1', the event does not fire, and nothing on the grid changes.

Am I missing a special event for the first page, or is there something else wrong?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort Event does not fire when EnableViewState =false for data grid =?Utf-8?B?VmlkZHM=?= ASP .Net 1 10-09-2007 12:15 PM
Datagrid PageIndexChanged event doesn't fire ASP .Net Datagrid Control 1 07-18-2006 08:45 AM
Paging Prev-Next { CrossFire } ASP .Net 0 06-18-2006 09:54 PM
Button OnClick does not fire on first postback, but does on second Janet Collins ASP .Net 0 01-13-2006 10:08 PM
Paging Datagrid - Prev / Next will not appear as links Darren ASP .Net 3 06-22-2005 06:53 PM