Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

FindChild() finds wrong child object

$
0
0

I am using FindChild() to find a child (in my case GridViewCell) with specific properties, but it keeps returing wrong child object.

 

Here is the scenario:

I am trying to find a GridViewCell with:

RadTreeListView.FindChild(["ClrClassName", "DataColumn.DisplayIndex", "Value.OleValue"], ["GridViewCell", 5, "ABCDEFG"], 100, true);

 

But I keep getting a GridViewCell which matches all the properties except 'Value.OleValue', here Value==null. I am not sure why FindChild is returning an objrct that does not even satisfies all the properties.

 

Can someone please help me with this


Viewing all articles
Browse latest Browse all 20990

Latest Images

Trending Articles



Latest Images