I have a class that contains hierarchical data. I want to present this data in my ASP.net webapp using nested repeaters. How do I do this? I\'ve only ever done one level
R1.ItemDataBound += (s, e) => { var r2 = e.Item.FindControl("R2") as Repeater; r2.DataSource = something; r2.DataBind(); };
Be aware that FindControl is not recursive, it will only get the children.
FindControl