returning one item at a time from ajax
I have a large list of objects that I have created in my WebMethod, which takes fairly long to load.
I was wondering if anyone had an example of pulling one item at a time allowing my ajax to display each object as soon as they get it, making them see part of the data faster(even tho it may be slower in the long run)
You would need to execute a separate ajax request for each item that you're retrieving. Also the WebMethod needs to receive as a parameter which item it should return on each request.
you can use serverside pagination by sending some offset and limit value, following can be reffered