I have the follwing object say
and each object has a parent which I can find from the info property like following
now think like a folder structure in windows you store a word file in a folder which can reside into some other folder
so the word file is oReport and then the folder in which it is kept is
now my goal is to traverse all the parents of an object like this untill the parent becomes null
I need to this for the following reason of the business logic. A report can be considered hidden if the following things are true
oReport.Info.Hidden=true or any of its parent is hidden so I need to loop through all the parents of the report recursivley untill the parent is null and find out if the report is hidden or one of its parents is hidden.
Hope I am clear enough