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 the namespaces used in asp.net mvc? : asp.net mvc
How can you pass multiple complex types in Web API?
How many languages are supported by .NET at present time?
What is cookies cache and session?
How many ways are there to maintain a state in .net? What is view state?
What is autopostback in asp net?
What is .net framework and what are the main components of it?
What is a response cookie?
What is the difference between custom web user control and a custom web server control?
Explain exception filters?
Explain repository pattern in asp.net mvc? : asp.net mvc
How to prepare culture-specific formatting in .net.
what is AutoEventWireUp and what is the use of This property explain in details?
Explain the server control events of asp.net ?
Explain the Session state management options available with ASP.NET?