How to load large amounts of data in a ListBox? ASP.NET MVC Application

I am working with an ASP.NET MVC application.

There is a requirement that a user can select an item from a ListBox that can contain more than 30,000 entries.

Is there a dynamic way to populate the contents of this ListBox with an Ajax call - which will work well?

Would it be better to just populate the ListBox control on the server and then wait for the user until the page is displayed with 30,000 entries?

Would it be better to work if I made some jQuery solution?

Any suggestions on the most effective solution to this scenario (without changing the client’s requirements :-))?

+2
source share
8

- 30 000 ? , ?

.

+9

, - :

: , .

Some programmers just use a hammer for screws.
(: mac.com)

, , , , , .

, Visual Basic 11 1996 , :

2000 ... ... 20 . ?

, 16 1996 , :

, ... (20, 000+)

: " ". , ; , - . , , , 20, 60 , , 100 . , , , .

, . , , , , , . , , - .

, , . , . , . " ".

+4

: . - - ListBox 30 000 ? - ?

. , , , .

+3

.

, 30000 ? , , , .

. :

  • ,
  • , , .
  • , Ajax,
  • , , .

- , . Windows. , .

: . , .

+1

, , .

AJAX (jQuery ), , , ... ( - ).

, ListBox . . , , ?

0

30 000 . , 100 000 .

, , 1000 , , . 100 . . . jquery . 100 , .

0

- ; .

0

I solved this by sending the user information that the query returned more than 200 records as a result, and then I downloaded only half of them; along this path, I suggest the user add another filter to reduce the number of records as a result. Honestly, I would like to have some better way to upload hundreds to hundreds of records, as the user scrolls the list down, but so far without success.

0
source

Source: https://habr.com/ru/post/1715989/


All Articles