ASP.NET/Javascript: loading huge data in a browser

I have this graphical interface that shows, for example, customer orders. When my client nailed the requirements, he asked me to keep the pages like this,

Show objects on page: 10/50/150

For each customer, there may be thousands of orders, and each order will have at least 50 attributes displayed on the screen. So, suppose a table with 50 html columns with 2000 or 3000 records associated with it covers several database tables (in any case, this is a completely different story).

Things were a breeze until yesterday, now my client came up with new change requests, as he indicated Show Items, like this,

Show objects on the page: 10/50/150 / All

Yes, he wanted to see 2,000 or 3,000 records by simply selecting the "All" option. Inside, this is not a big change, I would go back and remove the filters that I apply on rowcount, etc., but when it loads into the GUI, it really sucks ... the view state was huge, etc. Etc.,

I know this is a standard problem. How do you handle this? I can not convince my client to remove this option "Everything", he kept to this all the time. (the reason is simple, he got a large 42-inch screen, where he can easily see 1000 items on one page).

I also tried using javacript to prepare the DOM in an ajax call .. but still, inserting 2000 TDs is very slow.

Any help is greatly appreciated.

additional information

  • This application is an intranet application or is accessible through a VPN connection.
0
4

.
, .
1) <div> <table> ( CSS), . , , .
2) Ajax + Json <tr> , DOM. , ,

+3

, . , , . / . ajax-. , , . , . ... javascript jquery.

+2

, . - ajax-, .

- , -. - .

+1
source

Instead of an ASP.NET GridView, you'd better use a DataRepeater. Even better, if you're not technology-limited, you can use Microsoft Ajax Preview 4 with WCF REST Services . You just need to find some hacks to “stream” data from the service and display. There is also a jQuery Grid (if you don't want to use Microsoft Ajax Preview 4) that supports JSON serialization.

0
source

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


All Articles