473,385 Members | 1,478 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,385 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 1344

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

Similar topics

9
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...
6
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...
5
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...
12
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...
3
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...
4
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...
14
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:...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.