For a radgrid, in the GridNeedDataSource Event, the eventargs include: RebindReason IsFromDetailTable
This useful for determining whether the rebinding is caused by Parent or Child grid.
What if I have a 3-tier grid? Parent > Child > Grandchild
This boolean parameter will only tell me whether or not the grid raising the event was the parent, it cannot tell me whether it was the Child or Grandchild... or am I missing something?
How can I determine which depth of grid hierarchy raised the event?
EDIT: I suspect I can exploit the sender.Equals() method but I am not sure how to target the detail or master table controls