HighTechTalks DotNet Forums  

Datagrid Last Page Problem

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss Datagrid Last Page Problem in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
allan.russell@gmail.com
 
Posts: n/a

Default Datagrid Last Page Problem - 09-13-2006 , 11:37 AM






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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.