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 are the different types of cookies in asp.net?
How to authenticate users using web.config ?
what is pagination in asp.net ?
In a Repeater control how one can provide an alternating color scheme ?
How will you maintain versioning in asp.net 2.0?
Difference between Response.redirect vs server.transfer?
What is the difference between the response.write() and response.output.write() methods?
Less than one page, how many windows will you be able to maintain?
Explain < @OutputCache% > and the usage of VaryByParam, VaryByHeader ?
How can we access static variable?
To which class you load XML or Related Data
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?