Thank you for contacting us.
There are couple of approach for this case, depending on the type of hierarchy you are building:
- If the hierarchy is built as a NestedViewTemplate, then you could place label control inside the template and bind it to some of the parent item datafields. Then you could easily access this label control in the NeedDataSource event. Example that is using this approach could be found in this online demo application.
- If you are using normal hierarchy structure with the DetailTableDataBind event then you could access the parent item as shown in this online demo application.
I hope the provided information helps. Let me know if you need further assistance.
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed