title: Recursive display of sub objects in asp.net
body: <p>My project has some "MyObject" and the MyObject have a property of <code>List&lt;MyObject&gt;</code>. I would like to build a simple HTML nested unordered list to display the hierarchy for any specified MyObject. A few concerns:</p>
  
  <p>1) The number of children an total depth are unknown.</p>
  
  <p>2) I would like to be able to limit the depth to X children.</p>
  
  <p>3) The list items need to be able to contain any valid HTML and preferably asp.net controls e.g. a LinkButton</p>
  
  <p>What is the best way to handle this? TreeViews? Nested ListViews? Sample code or a link to a tutorial would be much appreciated.</p>