which template used to display data in repeater control?
which template used to display data in repeater control ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhineet SrivastavaPosted Jul 24, 2013, 11:38 AM
For Data-
For sepration=,Seprator Temples
For Footer--
Sanjeeb LenkaPosted Jul 24, 2013, 10:21 AM
AlternatingItemTemplate: AlternatingItemTemplates is used to change the background color and styles of AlternatingItems in DataSource collection
HeaderTemplate: HeaderTemplate is used to display Header text for DataSource collection and apply different styles for header text.
FooterTemplate: FooterTemplate is used to display footer element for DataSource collection
SeparatorTemplate: SeparatorTemplate will determine separator element which separates each Item in Item collection. Usually, SeparateTemplate will be
html element or
html element.
http://www.aspdotnet-suresh.com/2012/01/repeater-control-example-in-aspnet.html
Riyaz AkhtarPosted Jul 24, 2013, 10:19 AM
See the example below:
http://asp.net-informations.com/repeater/repeater-templates.htm
Iftikar HussainPosted Jul 24, 2013, 7:36 AM
Please refer the below link
http://www.w3schools.com/aspnet/aspnet_repeater.asp
Regards,
Iftikar
Ruchi HPosted Jul 24, 2013, 7:29 AM
Repeater control has following templates:
1. HeaderTemplate
2. ItemTemplate
3. SeparatorTemplate
4. AlternatingItemTemplate
5. FooterTemplate
ItemTemplate is used to display the data/rows.