Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > [ASP.NET 2.0] Repeater control & paging, how??

Reply
Thread Tools

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

 
 
Jeff
Guest
Posts: n/a
 
      02-27-2007
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


 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      02-27-2007
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" <> wrote in message
news:...
> 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
>



 
Reply With Quote
 
 
 
 
Brett
Guest
Posts: n/a
 
      03-20-2007
Check out the paged datasource.

http://www.sitepoint.com/article/asp...ageddatasource


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
repeater inside a repeater problem. uncensored ASP .Net 0 10-25-2006 06:10 PM
Repeater inside a Repeater Microsoft ASP .Net Web Controls 0 08-21-2006 09:13 AM
Repeater inside a repeater....how? voidfill3d@yahoo.com ASP .Net 1 08-10-2005 01:58 PM
Repeater Using Javascript Referencing a Column in the Repeater rwoo_98@yahoo.com ASP .Net 0 02-26-2005 05:02 PM
Repeater control with nested repeater chris.reed@digus.com ASP .Net 0 02-11-2005 05:10 PM



Advertisments