repeater and gridview diff?

Why is repeater fast than gridview?

Answers were Sorted based on User's Feedback



repeater and gridview diff? Why is repeater fast than gridview?..

Answer / 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

repeater and gridview diff? Why is repeater fast than gridview?..

Answer / parvez borkar

1)repeater is faster then gridview.
2)repeater is faster then gridview because it is all html
based and it does not produce much unneeded xml. There are
more reasons for it..

Is This Answer Correct ?    11 Yes 8 No

repeater and gridview diff? Why is repeater fast than gridview?..

Answer / dushyant sharma

yes repeater is much faster then gridview becoz repeater
contained invisable interface

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

0 Answers   UGC Corporation,


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

0 Answers  


Describe Segmentation With Paging?

0 Answers   MaxSolPro,


What are the page level transaction and class level transaction?

1 Answers   Satyam,


What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,


What is the full meaning of asp.net?

0 Answers  


How to create a permanent cookie?

1 Answers   IBM,


Difference between response.redirect and server.transfer?

0 Answers  


What are the built-in objects in asp.net?

0 Answers  


Explain the significance of routing? : asp.net mvc

0 Answers  


what is impersonation in ASP.NET?

7 Answers   Accenture, Merrill Lynch, Wipro,


how to write html code with ssl

0 Answers   DCI,


Categories