I've been searching across the web but can't find the result to something that I imagine is easy to do.

What I've got is a User Control with a property called Layout which can either Brief or Full. If Layout=Brief then I want it to display an ItemTemplate with a different table layout compared to the layout used if Layout=Full. Each template is signficantly different. However they need to access the same data so I thought it would surely make sense to use the one User Control.

So basically, can I create 2 different templates and call the appropriate one depending on the property value.

Thanks!