I have the Index page where there is an Html.ActionLink. This link is calling a function in the controller and creating a csv file into the local user drive. at the end of the function, i am trying to refresh the page, after the file was downloaded. I tried "return View()" And redirect, both doesn't work since i'm already on the index page and i want to stay there. Any ideas? Html:
<div class="col-6 text-right">
<p>@Html.ActionLink("Export Unshipped To CSV", "ExportToCSV")</p>
</div>
Thank you very much! :)