472,354 Members | 2,059 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Faux-paging with my datalist, visibility, and XmlDataSource?

I'm interested in paging a ASP.NET datalist. The ASP.NET datalist control
does not natively support paging.

I am binding an XmlDataSource (which is populated by entries in the
filesystem) to the my datalist control. The output is several hundred images
in a tabular view. I would like to limit the number of images to perhaps 50
per page.

There are various articles on the web that describe how to custom-implement
paging with datalist controls, but they tend to use SQLDataSource as a
starting point. SqlDataSource supports methods that as near as I can tell,
XmlDataSource does not. I probably need to find another way.

I was wondering if I could simply implement "fake" paging either using
ASP.NET's ability to manipulate visiblity server-side on rows, or perhaps a
similar tactic that involved AJAX. The number of records I'm dealing with is
not huge and keeping the entire collection of records in memory should not
be problematic.

If I take a non-AJAX approach, I need to know the C# syntax of how I could,
say, designate rows X through XX on the datalist as visible, and all other
rows invisible. I also need to know at what point in the page lifecycle this
manipulation needs to happen.
Jun 29 '07 #1
0 1306

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

Similar topics

by: russ.haley | last post by:
Threading and suspend I have an application that will load x number of "communicators". These "communicators" start up a communications channel with another application(of no importance). The...
by: varois83 | last post by:
Hi I am currently learning the faux columns technique from various tutorials but none of them tells me how to create a 774 px band in 3 colors in photoshop. I understand I can create 3...
by: dhull | last post by:
I have two sites that use the faux column background CSS technique. Both sites were built from the same CSS foundation with a wrapper DIV that has a background set and contains header, left, center...
by: not_a_commie | last post by:
Is using System.Management in general a faux pas? It seems, after some web searching, that there is a fair amount of resistance to it because of speed and portability. I need to know how many...
by: Colin Walls | last post by:
I am stuck with a problem on a new site and would appreciate some help. The site is www.sallekiss.org.uk. If you look at it in FF you can see it has three columns with the two side columns being...
by: TamusJRoyce | last post by:
Looking at various Holy Grail techniques for html layouts, I came across Faux Positioning Layout. What I'm curious about is the differences between the two. I have no understanding of the Holy...
by: Fistro | last post by:
I'm trying to find a design that would allow me to build web pages without having to worry about compatibility issues (not too much, in any case,,,) I've came across this CSS layout technique:...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made but the http to https rule only works for...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...

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.