renderViewCollection renders incorrectly when collectionStartRow is set

Description

There is an issue where system.web.renderer.renderViewCollection() will loop an incorrect number of times if collectionStartRow is set.

Example:

I have a collection of 5 items, but I set collectionStartRow to 3.

Expected result:

It will render items 3, 4 and 5.

Actual result:

The method sets recLen or viewArgs._items to the recordcount, but then does not adjust this for the start row. So when it loops, it will start at record 3, but still loop 5 times.

Proposed fix:

This for the array rendering:

This for the query rendering:

Status

Assignee

Luis Majano

Reporter

Seb Duggan

Labels

None

Priority

Minor
Configure