title: Best way to render an object to html
body: <p>What is the best way to render a data object into html?</p>
  
  <p>Take into your consideration that my object should be dynamically drawn on the page and it will be consisted of multiple controls (Labels, TextBoxes, CheckBoxes, DropdownLists ... etc).</p>
  
  <p>My object is a report which contains sections.</p>
  
  <p>Each sections contains groups.Groups should be drawn as an Accordion view.</p>
  
  <p>Groups contains fields which will be rendered as Labels,TextBoxes, CheckBoxes or maybe DropdownLists according to the specified field type.</p>
  
  <p>What is the best way to render that object?</p>
  
  <p>I'm using asp.net mvc 2</p>