please Take a look at the attached screen shot.
I have two buttons. A browse button and submit button.
When I click on browse it picks the path to a file I want to process.
My target is to click the submit button to run the process but when I do this, the page
re post again and the content of my path is lost.
I am new to mvc. How can i handle this so that on the click of submit button the path
to my file will not be lost and I can still execute a method in my controller.
public ActionResult Index(HttpPostedFileBase file)
// do something
public void ProcessMyStuffHere()