Skip to content
Discussion options

You must be logged in to vote

@Johnka2 there used to be a couple different paging samples, but they've faded away I see.

One was pretty cool, for smart clients, as it would do background loading of pages of data while the user was on a page/form.

The other was probably what you are looking for - a server-side web paging model. Fortunately, the answer is pretty straightforward, though there are various ways to do the implementation.

Basically, you want a ReadOnlyListBase subclass that represents the current page of data shown to the user. That part is pretty obvious. The question is how to retrieve pages of data.

public class MyPage : ReadOnlyListBase<MyPage, MyItem>
{
  [Fetch]
  private void FetchPage(int pageNumber, [

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rockfordlhotka
Comment options

You must be logged in to vote
1 reply
@rockfordlhotka
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2731 on January 27, 2022 22:52.