repeater and gridview diff?
Why is repeater fast than gridview?
Answer Posted / karthika.s
Repeater
Repeater is okay if you need to show data from some data
source. It offers the basic rendering options: header, item,
alternating item, separator and footer. It is really up to
developer how to fill these templates. By example, it is
easy to use Repeater to show read-only lists using templated
elements.
Repeater is faster because it offers only basic data bound
control rendering functionalities. If you want to show data
and you don't need any complex features described below then
repeater is the right joice.
GridView
GridView is rendered as table with columns and it is created
to show data and let users to manipulate it. GridView offers
powerful built-in features like:
* events for sorting data when user clicks on column
heading,
* row selection,
* row operations like adding, editing and deleting,
* paging,
* command columns and events to handle the commands.
GridView is excellent choice if there is a need to show
tabular data and also provide users with features described
above.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are web server controls in asp.net?
How is mvc different from asp.net? : Asp.Net MVC
What is ascx?
Explain what is an abstract class?
What are cookies in your browser?
How do you do client-side validation in .net? How to disable validator control by client side javascript?
How can you register a custom server control to a web page?
Explain about consistent programming model in the .NET framework?
What is session management in web application?
Explain what are delegates?
How to prevent client side validation from the ASP.NET validation controls?
Is react a template engine?
How to display Alert in ASP.NET
What are the versions of garbage collection?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?