摘要: AFAIK, this is not possible. You can detect the compatibility mode from JS but setting it is not possible to my knowledge.As for as your problem goes, typically you can use few solutions:If you are using Master pages in your site, add the meta header () in the master page.Similar to #1, if you are u 阅读全文
posted @ 2014-03-27 20:40 happyu0223 阅读(201) 评论(0) 推荐(0) 编辑
摘要: You need to escape the backslashes, e.g.,var commandtoRun ="C:\\Documents and Settings\\User\Desktop\\ABCD.exe";Update:This works fine on my machine:var oShell =newActiveXObject("Shell.Application");var commandtoRun ="C:\\Windows\\notepad.exe"; oShell.ShellExecute(comma 阅读全文
posted @ 2014-03-27 17:00 happyu0223 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 需要添加如下配置:Add this to web config 阅读全文
posted @ 2014-03-27 10:09 happyu0223 阅读(201) 评论(0) 推荐(0) 编辑
摘要: ' /> ' runat="server" ImageUrl='' Height="120px" Width="120px" /> '));" />... 阅读全文
posted @ 2014-03-27 09:30 happyu0223 阅读(235) 评论(0) 推荐(0) 编辑