Export to excel From MVC button click
Posted on 2016-07-19
Hello, I need to export some data to an excel document in an MVC application. I'm new to MVC and don't know how to react to the click event of the following button in the view.
<input type="button" value="@Resources.PortalAccountsMapping_ExportTitle" class="btnExport" />
How do I create an ActionResult that reacts when the button is clicked then exports data contained on the view inside a jqgrid table?