View previous topic :: View next topic |
Author |
Message |
VND
Joined: 13 May 2008 Posts: 1
|
Posted: Tue May 13, 2008 1:11 pm Post subject: ChildRowByIndex returns null |
|
|
I am trying to use the ChildRowByIndex but sometimes it returns null. The strange thing is that if I enter debug-mode, I can see the child at the specified index (_childItems, _childRows). |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue May 13, 2008 11:08 pm Post subject: |
|
|
ChildRowByIndex will return null in only two circumstances:
1. The row has no children (in which case _childItems would be null)
2. The index you pass the method is outside the range:
0 <= i < _childItems.Count
Do mean that if you are debugging you can see _childItems is non-null and the index is within these bounds - but the method still returns null?
Any chance you could email a sample project that illustrates the issue to support@infralution.com? _________________ Infralution Support |
|
Back to top |
|
|
|