[Mono-bugs] [Bug 77556][Nor] New - [PATCH] DataGrid custom paging issue

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 14 15:59:57 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj at gmx.net.

http://bugzilla.ximian.com/show_bug.cgi?id=77556

--- shadow/77556	2006-02-14 15:59:57.000000000 -0500
+++ shadow/77556.tmp.10426	2006-02-14 15:59:57.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 77556
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: robertj at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] DataGrid custom paging issue
+
+Custom paging needs to save only the visible part of the cells
+to the ViewState. The current code does this as expected, but
+it saves the wrong item count [VirtualItemCount instead of the
+page count or less (for the last page)]
+
+If the last page contains less then PageSize items
+(VirtualItemCount % PageSize != 0), navigating from the
+last page to a previous page doesn't work correctly
+because  CreateControlHierarchy (false) constructs
+a wrong number of items and the event dispatching doesn't
+work anymore because the IDs are wrong.
+
+Sorry, I don't have a test case, because I fixed that
+using a large application which does DB custom paging.


More information about the mono-bugs mailing list