2013年12月26日

解決IE10的Report Viewer無法列印問題

根據 微軟的Connect網站,有類似的IE10災情

ASP.net 4.0 and IE10 - Click on imagebutton in updatepanel produces error, click on normal button does not!
底下是整理的解決方案
作法1:
在網頁標頭加上
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
作法2:web.config上加上
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE= edge, chrome=1" />
</customHeaders>
</httpProtocol>

作法3:IIS7上設定
  a.選HTTP回應標頭
clip_image001
   b.新增回應標頭
clip_image001[10]

沒有留言:

張貼留言