【问题标题】:Html.ActionLink doesn't work in IE6Html.ActionLink 在 IE6 中不起作用
【发布时间】:2010-07-13 17:59:18
【问题描述】:
<%= Html.ActionLink("Account Page", "Index", new {
    controller = "Account", culture = (string)Session[culture],
    client = (string)Session[Client], brand = (string)Session[Brand],
    storeid = (string)Session[Store] })%>

这适用于除 IE6 之外的几乎所有浏览器(IE7/8、Mozilla、safari、chrome)。这里的问题是链接显示为文本。

如何解决这个问题? IE6 是主要要求之一。

【问题讨论】:

  • 您可以发布您在每个浏览器中看到的 HTML 输出吗?

标签: internet-explorer-6 html.actionlink


【解决方案1】:

感谢您的回复,但我发现了问题。导致问题的不是 actionlink 本身。我为 IE6 添加了一个 javascript (jquery.pngFix.js) 作为图像的修复,它导致了问题。删除此脚本后,一切正常。再次感谢您的回复。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-10-14
    • 1970-01-01
    • 1970-01-01
    • 2023-03-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多