Menu ▾ ▴

#37 Controls in DataGrid are wrong indexed

open
nobody
None
5
2005-08-18
2005-08-18
Anonymous
No

If grid has pager on top and you test controls from first
row, these cotrols has names like _ctl3_, but program
expects names like _ctl2_. To avoid this problem you
have to use method GetRow with index+1 (GetRow(1) is
first row).
--
gruza@bielbit.com.pl

Discussion

  • Martin Harper

    Martin Harper - 2007-05-30

    Logged In: YES
    user_id=861973
    Originator: NO

    I have a test case for this here: 1109298

    This problem occurs for all datagrids with pagers.

     

Log in to post a comment.