Move temporary operations from page load

I have an aspx page in which I create reports and graphs on the fly. Creating these charts and reports takes a lot of time, because of which a blank screen is displayed to the user until the creation is complete.

Can you suggest ways in which I can undo the actual report and the chart creation code from the page load so that I can display the processing text and then show the generated chart or report when it is ready.

EDIT: - I would like to do something like this - on the first request initiates the creation of a report or chart and registers a callback to complete. the client can then poll the server every 2-3 seconds to check if the report is complete. I need help from you, how exactly can I implement this or if you can think of something better.

Please let me know if the question is not clear enough.

+3
source share
2 answers

- Page_Load . <asp:UpdatePanel> , , <asp:Timer> . On_Tick , , ( ) Update() UpdatePanel.

, AJAX . , , , .

+1

, Page_Load , . , Ajax . , , SSRS ReportViewer .

+1

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


All Articles