paging a nested datalist

G

Guest

I have a datalist that is nested within another datalist. I need to page the
nested list. I'm binding a PagedDataSource to the list and am adding next
and previous buttons to each list that needs paging. The problem is that I
can't figure out a way to keep track of the current page of each list and
have the current page changed on each list with a click event. I can't make
a seperate click event for each list because I don't know how many there will
be from the start. With my current implementation clicking next or previous
changes the page on all of the lists. Does anyone know of a good way to
solve this problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top