Repeater control templates - ASP.NET Introduction

Q.  Which of the following template supports by Repeater control?
- Published on 19 Oct 15

a. <ItemTemplate>
b. <AlternatingItemTemplate>
c. <SeperatorTemplate>
d. All of the above

ANSWER: All of the above
 
Repeater is a web server control. It is used to create custom lists out of data that is available on the page. Repeater control supports different type of template because it has not any built in layout.

Following are the template that a repeater control supports.
• ItemTemplate
• AlternatingItemTemplate
• SeparatorTemplate
• HeaderTemplate and FooterTemplate

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)