User34108037 posted
Hi ,
I have a ASP.NET website , one of the feature is download the content as text document. Its taking bit more time to download the document. so I am planning to display the loading icon until a download dialog box gets opened.
When we use Response.write , the loading is not hiding after a dialog box gets opened. Can anyone give me some idea to hide it after sending the response to client?
I have tried the below alternate approach, saving the text file in one temp folder, then using anchor tag , assigning the path of that document to href and then invoking the click event of anchor tag. this way also no idea how to hide it ? also while opening
the text file via anchor tag its opening in the browser itself as a inline. is there any way to open it using open , save dialog box.
Suresh.