Last post Jun 04, 2013 08:32 AM by JT12
Jun 03, 2013 01:51 PM|JT12|LINK
I want to open Calc.exe with a button on my page. This was discussed here: http://forums.asp.net/t/1367465.aspx/1, but I would like to use Razor to do it.
The below works to open the calculator, but I want it to open it at the click of a button and not on page load.
Any thoughts on how this would be done with Razor?
Thanks for any suggestions.
Jun 03, 2013 03:03 PM|Mikesdotnetting|LINK
That code will open Calculator on the server. You cannot open programs on the client using ASP.NET.
Jun 04, 2013 07:58 AM|JT12|LINK
I am slightly confused at your response. That code open the calculator on my computer running a local site.
Are you saying that it will not work when the site is placed on the actual server? Would it make a difference that it would be more of an intranet?
Jun 04, 2013 08:18 AM|Mikesdotnetting|LINK
Are you saying that it will not work when the site is placed on the actual server?
Jun 04, 2013 08:32 AM|JT12|LINK
I understand now. Thanks for your help.