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

Differentiate between file-based dependency and key-based dependency.

0 Answers  


They mostly asked difference between versions of technologies

0 Answers   Mphasis,


What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.

2 Answers   Syntax Softtech,


How to implement Authentication and Authorization?

0 Answers   QuestPond,


What are the different types of sessions in asp.net? Name them?

0 Answers  






What is pre-init event in ASP.NET 2.0 page life cycle?

2 Answers   Fulcrum Logic,


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

0 Answers  


The technical part was on ASP.Net only of web services.

1 Answers   Symphony,


A web service can only be written in .net? State whether true or false.

0 Answers  


can u debug application programatically? if yes how?

0 Answers   FactorH,


What are app services?

0 Answers  


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

1 Answers   MMTS,


Categories