MedQuist and I assign the copyright to this patch to Brian Knowles and Jim Shore.
This patch solves the issue whereby control IDs do not match up with row numbers in DataGrids with pagers. It is a simplistic fix that requires the test-writer to know whether they expect a pager. If they do, then they must use DataGridTester.GetRow(n, true) rather than DataGridTester.GetRow(n).
The patch does not fix GetHeaderRow or handle cases such as datagrids with no headers, datagrids with footers, etc.
The patch is written on top of NUnitAsp-2.0-Beta.
Test case is included.
Log in to post a comment.