Example of Virtualization in ASP.NET MVC ListView Control
This sample demonstrates the default functionalities of UI virtualization. Scroll list item to experience UI virtualization.
Contacts
- N
Nancy
- A
Andrew
- J
Janet
- undefined
Margaret
- S
Steven
- undefined
Laura
- R
Robert
- M
Michael
- undefined
Albert
- N
Nolan
- undefined
Laura
- J
Janet
- S
Steven
- A
Andrew
- undefined
Laura
- S
Steven
- undefined
Laura
Properties
Load data
|
|
Time taken
|
27 ms
|
UI virtualization is an optimization technique to avoid unnecessarily constructing and rendering objects for list items by loading only visible list items in a view port. This helps to improve ListView performance when loading a large number of items. The
list items are updated dynamically while users scroll the list. The virtualization can be enabled by using the EnableVirtualizationopens in a new tab
API in Listview.