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 is the full meaning of asp.net?

0 Answers  


Is post back in asp.net?

0 Answers  


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

0 Answers  


Give an example of what might be best suited to place in the application_start and session_start subroutines?

0 Answers  


How does the regular expression validator work? What are two situations when you might want to use one?

2 Answers  






Difference between mvc2 and mvc3 in asp.net?

4 Answers   Wipro,


Contrast the use of an abstract base class against an interface?

5 Answers   iLink,


Explain what are delegates?

0 Answers  


How can we Deploy a website?

2 Answers  


hi all; i need standard notes on .net(basics) for my seminar. im a starter in .net. plz suggest whr can i get satisfactory notes!!!

1 Answers  


how to debug web services on consumer side?

0 Answers   HCL,


What is SOAP, UDDI and WSDL ?

2 Answers   Infosys, Network, TCS, Wipro,


Categories