Sagar Pallavi

Sagar Pallavi

  • 1.5k
  • 159
  • 13.3k

File open using

Dec 10 2020 4:40 AM
Hi Team,
I want to open a Excel file from my local path using MVC. I created View and passing required parameters to controller using $.post
I am able to locate file in action method of controller however I am not sure on how to open the file in client side
with OPEN/SAVE/SAVE AS options. Kindly let me know how to extract the file and give those options to the users.
Many thanks in advance.
I tried
===============
Controller :- I mapped destination folder
View :- $.post("@url.Action("View","EMP")",{......}, etc....

Answers (4)