我只是使用簡單的代碼來加載圖像在asp.net圖像控制,它在IE中工作正常,但Firefox不顯示圖像。這行代碼是:Firefox:圖像不加載aspx代碼
string path = "F:\\Image\\";
string img = "header-firefox.PNG";
Image1.ImageUrl = path + img;
和錯誤是:
地址不被瞭解
Firefox不知道如何打開此地址,因爲協議(F)ISN與任何程序無關。
偶文件:/// F:/Image/header-firefox.PNG路徑在代碼中甚至不起作用。
當firefox嘗試下載圖像時,你有沒有看過firebug的調用? – 2013-02-25 09:34:36
它可能被拒絕訪問 – Dreamwalker 2013-02-25 09:34:51
重複的問題http://stackoverflow.com/questions/192080/firefox-links-to-local-or-network-pages-do-not-work – Dreamwalker 2013-02-25 09:36:06