What are different templates available in Repeater,DataList and Datagrid ?
Answer / sushil kumar
Templates enable one to apply complicated formatting to each of the items displayed by a control.Repeater control supports five types of templates.HeaderTemplate controls how the header of the repeater control is formatted.ItemTemplate controls the formatting of each item displayed.AlternatingItemTemplate controls how alternate items are formatted and the SeparatorTemplate displays a separator between each item displyed.FooterTemplate is used for controlling how the footer of the repeater control is formatted.The DataList and Datagrid supports two templates in addition to the above five.SelectedItem Template controls how a selected item is formatted and EditItemTemplate controls how an item selected for editing is formatted.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is xaml? Are xaml file compiled or built on runtime?
Advantage of data Reader?
How to rename a table using sql queries?
What are the different types of proxy patterns?
What are session and cookies?
What is asp net theme?
Can we throw exception from catch block ?
4 Answers Accenture, BirlaSoft,
What are Http handler ?
6 Answers Accenture, BirlaSoft, Satyam, Syntel,
What is State Management in .Net and how many ways are there to maintain a state in .Net?
How to sign out from forms authentication?
Which two new properties are added in asp.net 4.0 page class?
What is the life cycle of an asp.net page?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)