What is the best method to display repeating data with slightly different controls or sub data? For example displaying an expanded list of questions and answers. Some questions will have answers, some will not. Some button controls would show for some items while not for others.
In classic ASP I've used XML/XSL quite effectively for displaying data in this manner. In .NET I've used functions being called from a label with the HTML writer class to render controls dynamically and nested list views that would bind or not depending on existing data.
I know I could also use XSL with .NET but my question is - is there a better method of displaying data this way? Inline IIf's and functions being called from the front end doesn't seem very clean.