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
How will you maintain versioning in asp.net 2.0?
Is redux flux?
Why does my asp.net file have multiple tag with runat=server?
What is the use of web.config file?
What is distributed system in asp.net?
Which is better session or viewstate?
What are uri parameters?
What is mvc in asp.net tutorial? : Asp.Net MVC
Where the assembly is stored in asp.net?
What is a web api?
Explain how cookies work. Give an example of cookie abuse.
What is preprocessor in .net and type, where it use?
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
What is css in asp.net?
What is a ashx file?