Use ListView instead of TemplateView.