Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
IndexOutOfRangeException in print preview
posted

Normal 0 21 false false false NL X-NONE X-NONE MicrosoftInternetExplorer4

Hello,

In our product we use the UltraGrid. When doing a print preview, we get an OutOfRangeException.

Did anyone have seen this before and is there a workaround/solution available?

I checked the code in Infragistics.Win.UltraWinGridPrintManager.CalculateFirstRows.

There ut seems to be a situation of an endless loop when adding a new logical page. Somehow, for certain a certain amount of rows, it cannot determine what should be on the next logical page or it keep generating the same logical page.

I can reproduce this with one of the samples of NetAdvantage Select 2010, Vol. 1.

 

1. Goto Windows Forms -> Samples -> Grids -> Samples Explorer -> Print/Print Preview

2. Deselect Portrait

3. Delete first 30 rows.

4. Click on Preview

 

-> IndexOutOfRangeException

 

Service Release Version 0.1.2018

We're running on Windows7

 

Best regards,

 

Henk Wagterveld