I'm in the process of creating a web page that displays data from a datatable in a grid view. There's also a button labeled "Send To Excel." When a user clicks this button, the program begins generating a report by writing the datatable content into an Excel file. Once the process is complete, a hyperlink appears for the user to download the Excel file.
Some of the reports are quite large, so it takes time to generate the Excel file.
I would like to display some information while the Excel file is being generated. For example:
10 records generated. 20 records generated. 30 records generated. .. finished.
The above sentences should appear on the same line, with each sentence replacing the previous one. This data insertion is done within a For loop, allowing us to track progress using this loop. I am working with VB.NET, ajax, jquery, css to develop this functionality.
Any ideas? Please share your suggestions. Thanks in advance!