#24 Fix for DataGrid id indexing : bugs 1262768 and 1109298

closed-duplicate
nobody
None
5
2007-05-31
2007-05-30
No

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.

Discussion

  • Martin Harper

    Martin Harper - 2007-05-31

    Logged In: YES
    user_id=861973
    Originator: YES

    Just integrated 1055819 and found that this is a much better fix.

     
  • Martin Harper

    Martin Harper - 2007-05-31
    • status: open --> closed-duplicate
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks