What are different templates available in Repeater,DataList and Datagrid ?
Answer Posted / 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 |
Post New Answer View All Answers
Explain the code Access Security (CAS) in .net Framework?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
What is the difference between CC and BCC?
Explain cashing in asp.net.
What is applicatio domain?
What parameters can you pass in the url of the api?
What are the two types of web pages?
What's the ASP.Net Application life cycle?
Is it possible to migrate visual interdev design-time controls to asp.net?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
How does session work in asp net?
Define reflection in .net?
Where do we store our connection string in asp.net application?
What is a page life cycle? What are the events in a page life cycle?
What is a web pool?