ErBhati Ответов: 0

Диалог сохранения файла в MVC5 razor on link click


I would like to ask, how can I open savefile dialog in mvc razor4? I wanted use normal savefile dialog but I have found out that it can be used only in Win forms. So I search in google but didn't find good solution. Only that there is

I have something like this:

<a href="@Url.Action("ExcelExport","Home")"><img src="@Url.Content("~/images/excel_icon.png")" id="excel-export-img" /></a>
I want to display Savefile dialog after click to that. Know anyone about some materials about it or how to do it?


Что я уже пробовал:

<a href="@Url.Action("ExcelExport","Home")"><img src="@Url.Content("~/images/excel_icon.png")" id="excel-export-img" /></a>
I want to display Savefile dialog after click to that. Know anyone about some materials about it or how to do it?

0 Ответов