title: What is the proper way of opening a save as dialog when a button is clicked on site?
body: <p>~EDIT MORE INFO~</p>
  
  <p>I have 3 different file formats that I a user can choose from when a save button is clicked in the save as dialog.</p>
  
  <p>The data is that needs to be saved is already stored on the back-end of the website (therefore there isn't any data in forms that will be required to be sent to the back-end).</p>
  
  <p>Therefore do I trigger a function on the front-end (html, javascript) that calls a function on the backend (mvc controller function) that uses the data to output the save as dialog and have the choices to save in the 3 different formats. Or do I trigger a function on the front-end to get the data from the back-end and output the save as dialog (using javascript/html) on the front-end.</p>
  
  <p>~END EDIT~</p>
  
  <p>What is the proper way to open up the save as dialog when you click a button on a site?</p>
  
  <p>It seems like using javascript is not the correct way to open the save as dialog. I am currently using MVC, so the question is do I have a button that triggers a function in the back-end (C# controller function) to open up the save as dialog?</p>
  
  <p>I can't seem to find direct information of the proper (best) way to implement a save button, so any information, is much appreciated!</p>