I have a popup with pagination.IN the popup i can display 20 records each with a checkbox.I can select 5 records from here , 5 from next page and 5 more other page .So the total must be 15.Similarly I can remove and the size should change dynamically.Can I get a sample solution.I did a code but it was bulky and slow.Also there were problems while removing the records by de-selecting the checkbox.Any solution which is faster and more dynamic is welcome..
Eric Pascarello wrote:How are the multiple pages being fetched?
Well we are making a call to the database to fetch the records whenever the next>> is clicked.Then we cache the records in a session so that in case the user uses the prev<< we can reload from the session instead of making a call to the database. We use the last record in the page a scrollkey to our DB to fetch the next set of records.Hope this helps
Joined: Nov 08, 2001
When the page is posted back, you need to store what checkboxes were checked and hold that in session too.