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
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
What is full form of asp.net?
Distinguish between Server-side and Client-side code with its functionality?
What are the types of caching in asp.net?
Briefly describe the role of global.asax?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
Is it possible to create web application with both webforms and mvc?
What is server side session management?
How will you load dynamic assembly?
Define common type system?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
What is a session http?
Can we have multiple web config files for an asp.net application?