[Mono-bugs] [Bug 76503][Maj] New - System.Web.WebControl.DataGrid
:: Paging Fault
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Oct 21 15:17:37 EDT 2005
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 yogendrathakur at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76503
--- shadow/76503 2005-10-21 15:17:36.000000000 -0400
+++ shadow/76503.tmp.6288 2005-10-21 15:17:37.000000000 -0400
@@ -0,0 +1,92 @@
+Bug#: 76503
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 8.0
+OS Details:
+Status: NEW
+Resolution:
+Severity: 024 Three days
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com
+ReportedBy: yogendrathakur at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Web.WebControl.DataGrid :: Paging Fault
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+========================
+
+When Paging is enabled and if number of Items in Last page are less than
+PageSize, clicking on last page will throw exception.
+
+See Attached Page. it will show 3 pages in Grid, its datasource contains
+13 Item and PageSize is set to 5.
+
+When Page 3 is selected it throws exception.
+
+
+Steps to reproduce the problem:
+1. See attached Page in browser.
+2. Click on 3d page.
+3.
+
+Actual Results:
+==============
+Exception:
+----------
+
+System.IndexOutOfRangeException: Array index is out of range.
+in <0x0001b> System.Data.DataView:get_Item (Int32 recordIndex)
+in <0x0000d> System.Data.DataView:System.Collections.IList.get_Item
+(Int32 recordIndex)
+in <0x00096>
+System.Web.UI.WebControls.PagedDataSource+<GetListEnum>__3:MoveNext ()
+in <0x00477> System.Web.UI.WebControls.DataGrid:CreateControlHierarchy
+(Boolean useDataSource)
+in <0x00099> System.Web.UI.WebControls.BaseDataList:DataBind ()
+in <0x00053> handy.WebForm1:displayGrid_PageIndexChanged (System.Object
+source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_DataGridPageChangedEventArgs
+(object,System.Web.UI.WebControls.DataGridPageChangedEventArgs)
+in <0x00053> System.Web.UI.WebControls.DataGrid:OnPageIndexChanged
+(System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
+in <0x002f0> System.Web.UI.WebControls.DataGrid:OnBubbleEvent
+(System.Object source, System.EventArgs e)
+in <0x000e9> System.Web.UI.Control:RaiseBubbleEvent (System.Object
+source, System.EventArgs args)
+in <0x00080> System.Web.UI.WebControls.DataGridItem:OnBubbleEvent
+(System.Object source, System.EventArgs args)
+in <0x000e9> System.Web.UI.Control:RaiseBubbleEvent (System.Object
+source, System.EventArgs args)
+in <0x0005f> System.Web.UI.WebControls.LinkButton:OnCommand
+(System.Web.UI.WebControls.CommandEventArgs e)
+in <0x0008f>
+System.Web.UI.WebControls.LinkButton:System.Web.UI.IPostBackEventHandler.R
+aisePostBackEvent (System.String ea)
+in <0x00016> System.Web.UI.Page:RaisePostBackEvent (IPostBackEventHandler
+sourceControl, System.String eventArgument)
+in <0x00120> System.Web.UI.Page:RaisePostBackEvents ()
+in <0x00208> System.Web.UI.Page:InternalProcessRequest ()
+in <0x0009d> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext
+context)
+in <0x01098> System.Web.HttpApplication+<Pipeline>__1:MoveNext ()
+
+Expected Results:
+-----------------
+
+Page should display datagrid with two Items on page.
+
+How often does this happen?
+
+Always.
+
+Additional Information:
+------------------------
+
+I am running Mono 1.1.9.2_2 installer
More information about the mono-bugs
mailing list