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?
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?