[Mono-bugs] [Bug 545417] New: ListView + DataPager fails while trying to set up custom paging

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 8 11:52:41 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=545417


           Summary: ListView + DataPager fails while trying to set up
                    custom paging
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: i386
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: bodnarchuk at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=321671)
 --> (http://bugzilla.novell.com/attachment.cgi?id=321671)
attached web site with single ListView control, in subfolder
/test_web_site/screens/ put html pages received as a result

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; uk; rv:1.9.0.14)
Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14

Web site contais single ListView control and single DataPager. Click on every
paging button results in wrong behavior.

Reproducible: Always

Steps to Reproduce:
1.Visit Default.aspx, You will see same page as
/test_web_site/screens/first.html
2.Click "2" button, You will see same page as
/test_web_site/screens/second.html which is wrong. We expected to see next
page.
3.Repeat step 1.
4.Click "3" button, same thing attached in /test_web_site/screens/third.html.
5.Repeat step 1.
6.Click "Next" button, You will see stack trace attached in
/test_web_site/screens/next.html.
7.Repeat step 1.
8.Click "Last" button, same thin attached in /test_web_site/screens/last.html.
Actual Results:  
in two cases silent error, in two cases
Stack Trace:

System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: startRowIndex
  at System.Web.UI.WebControls.ListView.SetPageProperties (Int32 startRowIndex,
Int32 maximumRows, Boolean databind) [0x00000] 
  at
System.Web.UI.WebControls.ListView.System.Web.UI.WebControls.IPageableItemContainer.SetPageProperties
(Int32 startRowIndex, Int32 maximumRows, Boolean databind) [0x00000] 
  at System.Web.UI.WebControls.DataPager.SetPageProperties (Int32
startRowIndex, Int32 maximumRows, Boolean databind) [0x00000] 
  at System.Web.UI.WebControls.NextPreviousPagerField.HandleEvent
(System.Web.UI.WebControls.CommandEventArgs e) [0x00000] 
  at System.Web.UI.WebControls.DataPager.OnBubbleEvent (System.Object source,
System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.RaiseBubbleEvent (System.Object source,
System.EventArgs args) [0x00000] 
  at System.Web.UI.WebControls.DataPagerFieldItem.OnBubbleEvent (System.Object
source, System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.RaiseBubbleEvent (System.Object source,
System.EventArgs args) [0x00000] 
  at System.Web.UI.WebControls.LinkButton.OnCommand
(System.Web.UI.WebControls.CommandEventArgs e) [0x00000] 
  at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent (System.String
eventArgument) [0x00000] 
  at
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
(System.String ea) [0x00000] 
  at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler
sourceControl, System.String eventArgument) [0x00000] 
  at System.Web.UI.Page.RaisePostBackEvents () [0x00000] 
  at System.Web.UI.Page.ProcessRaiseEvents () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 

Expected Results:  
correct paging (because microsoft asp.net version does)

I can send additional information if it seems to You that You cannot reproduce
this error

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list