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 difference between CLICK and MOUSE DOWN Event ?

0 Answers   MCN Solutions,


What is client side state management?

0 Answers  


in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview

5 Answers   TCS,


What is a multilingual website?

0 Answers  


Define the types of configuration files.

0 Answers  






Describe the diffeerence between inline and code behind?

0 Answers  


What are validators and list some validators of asp.net?

0 Answers  


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

0 Answers   MCN Solutions,


How can you use a custom controls in ASP.NET application?

0 Answers   Sans Pareil IT Services,


What is viewstategenerator?

0 Answers  


Explain MVC model binders?

0 Answers   B-Ways TecnoSoft,


What is the compiled object?

0 Answers   eXensys,


Categories