A memory-management technique where a computer stores and retrieves data from secondary storage for use in main memory. Memory is divided into equal sized pages so to not waste any memory.
Questions tagged [paging]
2459 questions
4
votes
3 answers
Paging in a scaffolding view MVC3
so using EF4 I create a scaffolding controller/view, so my question is how can I Add Paging to my view in easy/fast way??
the
controller generated
public ViewResult Index()
{
return View(db.Perifericos.ToList());
…

Diego_DX
- 1,051
- 1
- 20
- 33
4
votes
3 answers
Paging Support - ADO.NET Entitry Framework and LINQ
What kind of paging support is offered through ADO.NET EF and LINQ?
What does a "first 10" Select look-like?
A "next 10" Select?

BuddyJoe
- 69,735
- 114
- 291
- 466
4
votes
4 answers
Silverlight: disable automatic first-row selection after DataGrid binding
I have a Silverlight DataGrid, a DataPager and a PagedCollectionView.
After the PagedCollection view is bound to the DataGrid, the first row of the DataGrid is selected.
This behaviour does not happen, if i am using an ObservableCollection. But due…

Gerwald
- 1,549
- 2
- 18
- 42
4
votes
1 answer
MSSQL 2008 R2 Selecting rows withing certain range - Paging - What is the best way
Currently this sql query is able to select between the rows i have determined. But are there any better approach for this ?
select * from (select *, ROW_NUMBER() over (order by Id desc) as RowId
from tblUsersMessages ) dt
where…

Furkan Gözükara
- 22,964
- 77
- 205
- 342
4
votes
2 answers
Rich Text Editor[WYSIWYG] with paging using javascript
Is it possible to implement paging similar to MS Word in a rich text editor using JavaScript.
I need to implement an editor using JavaScript that contains text in pages. If i type text that exceeds the ficed limit of a page then automatically a new…

rahul
- 184,426
- 49
- 232
- 263
4
votes
1 answer
how to specify a range of data or multiple entities in a restful web-service
To access an instance of a User in a restful web-service the url is structured as shown in the curl request below:
curl -v -X GET -s "$BASE_URL/User/${customer_id}.json"
If I wanted to specify all User entities or page through a range of User…

murungu
- 2,090
- 4
- 21
- 45
4
votes
2 answers
Vertical Paging in SwiftUI
I'm creating a vertical paging view via TabView following this
Everything is perfect except the strange right margin as highlighted in pic below.
Here is the code I use. Appreciate it if anyone could point out the root cause.
import…

LiangWang
- 8,038
- 8
- 41
- 54
4
votes
5 answers
How do you do paged lists in JavaServer Faces?
I have a JSF application that I am converting over to use webservices instead of straight up database queries. There are some extremely long lists that before could be returned easily with a simple SQL query. I'd like to figured out how implement…

Alex Argo
- 8,920
- 12
- 43
- 46
4
votes
2 answers
Unit testing a repository with paging 3 using a a remote mediator and paging source
I am trying to unit test a repository class in android which is using paging with a remote mediator and paging source.
But when I run the test the returned result is empty, although actual should contain the test item.
Like below :
Here is my…

Mo Adel
- 1,136
- 1
- 16
- 29
4
votes
1 answer
How page table base register (PTBR) is used to locate the correct frame using Page Number?
I was reading about paging in OS , and one of the things I saw was the page table base register (PTBR).
If the CPU generates a logical address (Consists of Page number + Offset) it needs to be mapped to Physical address (Consists of Frame number +…

Colin Jack
- 209
- 3
- 13
4
votes
1 answer
PagedList is deprecated
PagedList is deprecated, what should I use instead? I'm using paging library to fetch the data from firestore.
Here is my code
val config = PagedList.Config.Builder()
.setEnablePlaceholders(false)
.setPrefetchDistance(2)
…

Murad Ismayilov
- 57
- 1
- 5
4
votes
1 answer
per process page table: what happens when a page frame is sent to disk?
My understanding is that, in general, there is one page table per process.
My question is then: what happens in case of a page fault of the running process, if the OS has to send a page frame of a non-running process back to disk. The page table of…

Raphinou
- 95
- 6
4
votes
0 answers
What is the Android Jetpack alternative to CursorLoader?
Loaders have been deprecated for ViewModel and LiveData and Android now has a Paging Library for pagination.
Most examples over web explain fetching images from web endpoints.
I want to create an image gallery in my app and want to use Jetpack…

Chandan Pednekar
- 525
- 5
- 19
4
votes
2 answers
how can I implement paging , and find physical memory address knowing virtual address
I want to implement the initialisation of paging .
Referring to some links of osdev wiki : https://wiki.osdev.org/Paging , https://wiki.osdev.org/Setting_Up_Paging , my own version is very different.
Because , when we look at the page directory ,…

ledoux
- 91
- 9
4
votes
2 answers
JNDI-LDAP paging
I managed to get pagination working like described here. The problem is I need to expose an API which would look like this:getUsers(pageSize, pageNumber), which does not really go well with the way JNDI/LDAP does the paging(with a cookie you pass…

calin014
- 429
- 1
- 6
- 17