Datagrid Last Page Problem

A

allan.russell

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
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top