Mike,

I've done exactly this. Mine returns a serializable class with a flag 
indicating there are more rows (if I request the first 20, I select "top 21" 
from the db - then I know there are more) and only the 20 items you requested. 
The next call sends in a start value (20) and gets the next 20, including the 
flag indicating if there are more, and they are just appended to the table. 
Seemed the most efficient in terms of data transfer.

Dino

From: [email protected] 
[mailto:[email protected]] On Behalf Of Mike Murdock
Sent: Wednesday, May 09, 2012 10:14 AM
To: [email protected]
Subject: [MonoTouch] Load more Table Results

I am loading a table and want to limit the number of records shown. I would 
like to show only 10 records and then at the bottom of the UItableview in the 
footer section add a button that says "Load More results"
Should I load the whole record set/ list  that may be large and then have the 
button in the UITableView change the "rowsinsection" count.

I also could limit the web service call to the number of records I  want to 
return initially. And then clicking the button again increase the number of 
records requested and call the web service again to load more.

Reason I need to do this is the "record set/generic list"  I am going to bring 
back could potentially  be quite large. Any suggestions would be great.


Michael Murdock
Software Engineer

(865) 482-1999
(865) 481-0921 fax
www.allmeds.com<http://www.allmeds.com>


_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to