Search This Blog

Friday, 7 March 2014

What is Repeater Control ?


How to bind data to Repeater Control ?


Repeater is a Data Bind Control.
Repeater Control Is Use for Displaying Records repeated.
Repeater control is lightweight and faster to display data when compared with gridview and datagrid.

Repeater Control Use:

Repeater Control is used to display repeated list of items that are bound to the control and it’s same as gridview and datagridview. 

Repeater control is lightweight and faster to display data when compared with gridview and datagrid. 

By using this control we can display data in custom format but it’s not possible in gridview or datagridview and it doesn’t support for paging and sorting.  

The Repeater control works by looping through the records in your data source and then repeating the rendering of its templates called item template. 

Repeater control contains different types of template fields those are, 

1) ItemTemplate 
2) AlternatingitemTemplate 
3) HeaderTemplate 
4) FooterTemplate
5) SeperatorTemplate

No comments:

Post a Comment

Angular 6 tutorial for beginners

Angular 6 tutorial for beginners