How can i refresh Page after downloading a file in MVC ?

Posted by Kasani007 under ASP.NET MVC on 12/7/2018 | Points: 10 | Views : 1153 | Status : [Member] | Replies : 1
How can i refresh Page after downloading a file in MVC




Responses

Posted by: Anand9796 on: 9/11/2019 [Member] Starter | Points: 25

Up
0
Down
You can't reload the page after a download and there is no way of knowing when the download completes or if the file is downloaded at all. You should instigate the download in a new tab, so if your download is a link then add target="_blank"

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response