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
Write a code for sending an email from asp.net application.
What is the difference between session object and application object?
What is caching? What are different ways of caching in asp.net?
What are client activated objects and server activated objects?
Explain Session state management options in ASP.NET.
How use Xml data in ASP.net?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
how can create login from create and written conde in asp.net
What is cookies in asp net?
How do you declare static variable?
If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?
How to Insert/Add in ASPXgridview
Can we create a multiple user simultaneously ?
What is true about application service provider?