0
  1. I want to save file in my local system.
  2. This purpose i need to choose directory where the file want to save.
  3. I want the choosing folder path.

I didn't find any web controls please help me. windows from control is not working in web forms.

I have tied using FolderBrowserDialog control but it is not working in MVC

1 Answer 1

1

There is no such control (except using ActiveX Control or Java Applets), so don't waste your time to look for it and you can not get any folder path(on client machine) with JavaScript due to security reasons.

Why don't you just allow user to download the file and user will select the folder where he wants that file to be saved or else it will get saved in default folder of browser.

Hope it helps, thanks.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.