473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

[ASP.NET 2.0] Repeater control & paging, how??

Hey

ASP.NET 2.0

GridView have AllowPaging & PageSize for the letting the GridView span
multiple pages.

But is the same allowed on a Repeater control? I didn't see any properties
like AllowPaging or PageSize on the Repeater control, so I guess it isn't
possible? if it is possible maybe somebody here could give me a tip on how
it is done on a Repeater control?

Any Suggestions?

Jeff
Feb 27 '07 #1
2 2223
There is nothing in the repeater control for this. The GridView and DataGrid
were designed with paging in mind. The Repeater was simply designed to allow
a datasource to be formatted with templated output. You would have to make
your own paging system, which could be a large pain depending upon the
database. SQL Server 2005 has some nice features that would let you limit a
resultset to certain rows (the RowNumber feature), but a lot of other
databases don't. You would then probably find it best to use a datatable as
you could pull certain rows out of it into another datatable and then bind
to the subset of data.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
Hey

ASP.NET 2.0

GridView have AllowPaging & PageSize for the letting the GridView span
multiple pages.

But is the same allowed on a Repeater control? I didn't see any properties
like AllowPaging or PageSize on the Repeater control, so I guess it isn't
possible? if it is possible maybe somebody here could give me a tip on how
it is done on a Repeater control?

Any Suggestions?

Jeff

Feb 27 '07 #2
Check out the paged datasource.

http://www.sitepoint.com/article/asp...ageddatasource
Mar 20 '07 #3

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

Similar topics

2
by: Mark | last post by:
I am attempting to build a repeating list using a repeater control. I want to add a checkbox to each item (line) and 'Select All' and 'Clear All' buttons. I have figured out how to do this...
2
by: Mark | last post by:
I am trying to use a Pagable Repeater with checkboxes in ASP.Net, I cannot seem to associate the checkbox with a particular database record so I lose the checked state from page-to-page. Below is...
12
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
20
by: John Rivers | last post by:
Hello, I am in the process of evaluating ASP.NET So far I am not impressed at all. It seems to me that a basic evaluation of the PROs and CONs of using things like HTML Server Controls,...
1
by: ratnakarp | last post by:
Hi, I have a search text box. The user enters the value in the text box and click on enter button. In code behind on button click i'm writing the code to get the values from the database and...
0
by: shamirza | last post by:
· What is view state and use of it? The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested...
1
by: Peggy | last post by:
Hi, I wanna list my stocks in a web page according to search result, this listing must be in a (3 columns and unlimited size) table, what I wanna list in a cell is stock name, stock price and...
3
by: NullQwerty | last post by:
Hey folks, I've got a DataGrid that has gotten a little out of control and really slow because of its complexity (bunch of Template Columns too). For performance reasons, I'm looking to change...
2
by: Mick Walker | last post by:
Hi Everyone, Does anyone know if it would be possible to create a custom derived Repeater control that directly supported paging. I'm looking for ideas for a 'personal project' and this in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.