How to prompt to open a file in c# asp.net mvc
I have been trying to implement something like this, but it will time out on the wait for exit?


		public JsonResult Index()
		{
            System.Diagnostics.Process proc = new System.Diagnostics.Process();
			proc.EnableRaisingEvents = false;
			proc.StartInfo.UseShellExecute = false;
			proc.StartInfo.FileName = "notepad";

			proc.StartInfo.Arguments =  @"\\share\test.XML";
			proc.Start();
			proc.WaitForExit();
        }

Is there a way to do this?

All i am trying to do is open the test.xml file on a client's machine.
How to prompt to open a file in c# asp.net mvc
===

I have been trying to implement something like this, but it will time out on the wait for exit?


		public JsonResult Index()
		{
            System.Diagnostics.Process proc = new System.Diagnostics.Process();
			proc.EnableRaisingEvents = false;
			proc.StartInfo.UseShellExecute = false;
			proc.StartInfo.FileName = "notepad";

			proc.StartInfo.Arguments =  @"\\share\test.XML";
			proc.Start();
			proc.WaitForExit();
        }

Is there a way to do this?

All i am trying to do is open the test.xml file on a client's machine.