In order to achieve the expected result I would suggest to use a template
). For your convenience here is a simple example
which demonstrates the suggested approach in action.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.