Naresh

Naresh

  • NA
  • 10
  • 15.5k

Paging for Asp.net Nested Repeater

Jun 17 2011 6:40 PM
Hi!

I have a User Control which displays messages of the user. It displays the messages sent and received by user.
I am populating the data from database using API method and assigning it to the dataset.

Here am using asp.net nested repeater. The outer repeater displays the first message from each person (i.e., only one message per person).
If u click on the message, it takes to another page where it displays all the conversation of the user. here am displaying the inner repeater (its like iPhone messages app).
It is working fine. Now I need to add paging to this app, both for the outer repeater and the inner repeater.
I tried using a "PagedDataSource" to do this, but in my dataset i will get a all the messages of the user. 
Am not able to filter the data source for outer repeater as well as inner repeater.
So, am not able to assign the paging correctly to the repeater.

Can some tell me how to apply paging to both outer and inner repeater.

Thank You,

Naresh

Answers (3)