473,503 Members | 1,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datagrid or repeater with pager

Hi,

I have a list up to 100 records. I can use the datagrid with the pager
functionality. But I can also use a repeater with a self made pager control.

What is the best and why?

I think the repeater is faster and at the moment I don't see any reason to
use the other functionality of the datagrid. Do I forget something
important? ... maybe the data sorting functionality.

Thanks!
Aug 13 '06 #1
2 1930
Arjen,
It sounds from the context of your post that you are talking about ASP.NET
controls, so the ASP.NET groups would probably be more appropriate than the
C# language group for your post.

The answer really depends on what functionality you need. If you are happy
with your repeater and your custom paging solution, and don't need the
advanced sorting and paging / editing capabilities of the DataGrid control,
then fine.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Arjen" wrote:
Hi,

I have a list up to 100 records. I can use the datagrid with the pager
functionality. But I can also use a repeater with a self made pager control.

What is the best and why?

I think the repeater is faster and at the moment I don't see any reason to
use the other functionality of the datagrid. Do I forget something
important? ... maybe the data sorting functionality.

Thanks!
Aug 13 '06 #2
Whooops... thanks!
Arjen
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comschreef in bericht
news:F4**********************************@microsof t.com...
Arjen,
It sounds from the context of your post that you are talking about ASP.NET
controls, so the ASP.NET groups would probably be more appropriate than
the
C# language group for your post.

The answer really depends on what functionality you need. If you are happy
with your repeater and your custom paging solution, and don't need the
advanced sorting and paging / editing capabilities of the DataGrid
control,
then fine.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Arjen" wrote:
>Hi,

I have a list up to 100 records. I can use the datagrid with the pager
functionality. But I can also use a repeater with a self made pager
control.

What is the best and why?

I think the repeater is faster and at the moment I don't see any reason
to
use the other functionality of the datagrid. Do I forget something
important? ... maybe the data sorting functionality.

Thanks!

Aug 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4422
by: sumit | last post by:
Hi, I want to add one java script function on the click of page button of datagrid. But how to get UI control of page button so that i should be able to add attribute for onClick event. ...
2
1414
by: Roy | last post by:
I am very, very new to ASP.NEt and have never done ASP. I have been trying to get a datagrid to work for about 5 days with very limited results. When I use property builder, bind the control, set...
2
3990
by: Ben | last post by:
Hi, I'd like to have a datagrid that has a dropdownlist in the pager control for setting the page size. I can get the control into the pager inside the datagrid itemcreated event by checking for...
3
1219
by: Matt Mercer | last post by:
Hi, I have an ASP .NET /VB application over a SQL database. I am designing a print friendly page. The database holds security incidents with the possibility of multiple (or none) people, and...
1
2069
by: strout | last post by:
I know it's dumb ... sometimes frustrating I want the text and a dropdownlist align with both side of a table cell, i.e. text align left and dropdownlist align right. I cannot add more cells to...
0
1225
by: James T. | last post by:
Hello! I am using following code to customize DataGrid Pager. It works fine... My question is, how I can replace"&nbsp" with " | " between each LinkButton control? Thanks! James Dim...
0
1809
by: Ray | last post by:
I am trying to add a "Next >" and "<Prev" button to the pager of my datagrid. I have been able to add the hyperlinks to the pager. I am now trying to determine the correct postback script to...
1
3513
by: Friso Wiskerke | last post by:
Hi all, is it possible to set a separate style in a datagrid pager for the selected page to make it more clear for the user which page is selected? For example: page 3 is selected out of the 8...
0
872
by: Arjen | last post by:
Hi, I have a list up to 100 records. I can use the datagrid with the pager functionality. But I can also use a repeater with a self made pager control. What is the best and why? I think the...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.