Reputation: 11817
I need to build a web page that has categorized data that looks like the screenshot below. Initially, I thought of using a Repeater
or a DataList
but I am not sure. Which ASP.NET control do you suggest? I am working on ASP.NET 4.0
Upvotes: 0
Views: 75
Reputation: 15252
Use a ListView. It will give you the functionality you need with the added benefit of clean markup using the templates.
Use nesting in the templates "if you really have to". Avoid nesting top-level controls like the ListView - totally unnecessary and a performance killer.
Upvotes: 3