ASP.NET - is there any limitations to use gridview, repeater in project

Asked By srikar
10-Feb-12 12:37 AM
Hi to All,

is there any limitations to use gridview, repeater in project...........?
  Suchit shah replied to srikar
10-Feb-12 12:43 AM
There are few limitation when you use the repeater control in your project
1) you required to do manual pagining and sorting coding while in datagrid this feature are avaliable
2) performance point of view repeater is faster while datagrid is lowest in performance after repeater, datalist and datagrid
3) If you want to use template to display the data it is available in repeater while you required to do manually everything in repeater

so, mainly we can say that in repeater we required to do lot of manuall codeing for paging , sorting but it is faster in performance compare to data grid
  Sreekumar P replied to srikar
10-Feb-12 12:52 AM
Hi,

One of the limitations of the GridView control is that the built-in
delete processing doesn't prompt for confirmation -- something thats
very important for a user interface. True, you can add server side
logic for this, but its much more reassuring to have a Javascript
confirmation window open up and prompt. There are several techniques
for doing this, just google 'Gridview delete confirm' to see them.
I've figured out one which does not involve adding logic to the GridView
setup, so there are fewer moving parts. And, it still preserves the ViewState.
There is a small amount of C# code to perform the actual record delete, but
this is mostly a client-side/Javascript technique.

The sample application with source is available at

App: http://www.nicecleanexample.com/View...viewconfirmdel

And while saying about a limitation of no. of rows and colounms
There is no limitaion over the size of gridview.You can optimize the perofrmance using xml as database.Load all the data in xml file when the page is loaded.When you change the page index or navigate through the gridview use xml as database.
  Somesh Yadav replied to Suchit shah
10-Feb-12 01:54 AM
Hi here it comes the limitaions of gridview and repeater .

Coming to gridview here it follows:-

ASP.NET’s GridView is great, but admittedly there are limitations to what it can do.

Some nice features which are missing include

  1. Advanced Search
  2. Print
  3. Save

I’ve written an advanced gridview class which is able to perform all these

GridView Design Mode

This gridview comes with the ability to

  • Display Create button which goes to another url when clicked
  • Save button to save all the records in the Gridview (yes all the records)
  • Print button to print all the records in the GridView (same as save button, but will pop up a new window to do the print)
  • Advanced Search which gives you “google like” search e.g using “+” , “-”, quotation marks to mark words as one key term, OR. e.g aaa bbb “”ccc ddd”" +eee -fff OR ggg

coming to repeater:-
1) paging and sorting we have to do it manually.

2)Repeater is faster in performance when compare to gridview.

3)Every thing has to be did manually in repeater.

so when we come to conclude ,in repeater we have to do lot of manual coding for paging and sorting.
but the advantage is repeater is faster in performance compare to grid.

Hope it helps you.

  dipa ahuja replied to srikar
10-Feb-12 06:09 AM
For simple data displaying the aspx data controls are enough.

But there are so many other third party controls like telerik they provide us 

So if you have very large data and want advance features then you can use telerik grids
Create New Account
help
ASP.NET DataList and DataRepeater Controls This is the third article in a three part series of articles pertaining to the understanding and application of ASP.NET 2.0 data controls. This article will address common functionality that may be required from ASP.NET DataList and DataRepeater data controls ASP.NET 2.0 Data Controls Author: Douglas Minnaar The intent of this series is to provide
asp.net MVC & webform usage & difference between them ASP.NET i know asp.net webform but i am not familier with MS asp.net MVC framework. so i need to know what is the difference between asp.net webform
ASP.NET Data Control Series - Part 2 Part 2 of the ASP.NET Data Control Series continues. In this article, the FormView DataControl is given a closer inspection. ASP.NET 2.0 Data Controls Author: Douglas Minnaar The intent of this series is to provide more information concerning the functionality and limitations of the available ASP.NET 2.0 data controls. This will mostly be demonstrated through the use of code samples
difference hi, what is the difference between datalist and gridview Hi, GridView and DataList are two of the DataPresentation controls provided by Microsoft. Datalist : It contains Header template . it can't support sorting and paging but support selection and editing DataGrid(or GridView) : It contains Header Template, Item template , alternate Item template , Edit itm template and footer template Mostly every developer caught used this control List of different abilities of Datalist Control and GridView Control features. Features of a GridView: • Displays data as a table • Updateable • Item as row • Control over • Alternate item • Header • Footer DataList: • Directional rendering • Good for columns • Item as cell • Alternate item • Updateable Feature & Difference between Gridview, DataList and Repeater control DataGrid and DataList controls are derived from the WebControl class, while the Repeater control is derived from the Control class. The WebControl class contains a
on html control, immediately after it exists on the page. Hi, I am writing in asp.net 1.1. I create iframe called "mainframe" in the html side. Then I create a line automatically, immediately after the iframe exists on the page? Thanks for your help! SetRemoteAdsForumBlock(); ASP.NET ASP.NET Page Life Cycle Overview When an ASP.NET page runs, the page goes through a life cycle in which it performs a series