好的,我真的很難過,希望這是簡單的。我有一個表單,它依靠radiobuttonlist的autopostback顯示或隱藏某些內容。起初這真的很精細,並且工作正常,直到我在IE6中進行測試。下面的代碼和我所能得到的一樣基本,我所有的代碼都是在點擊時將標籤更新爲單選按鈕的選定值。這工作在IE7和8,但不是在IE6,什麼給?asp net 4 - autopostback does not fire in ie0
<%@ Page Title="" Language="vb" AutoEventWireup="false" CodeBehind="testpostback.aspx.vb" Inherits="Checkout.testpostback" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:RadioButtonList ID="radio1" runat="server" AutoPostBack="true">
<asp:ListItem Text="Check1" Value="Check1" />
<asp:ListItem Text="Check2" Value="Check2" />
</asp:RadioButtonList>
<asp:Label ID="label1" runat="server" Text="none" />
</form>
</body>
</html>
ie6是一個錯誤:) – 2010-12-13 21:54:20
@Pauli:我完全同意。 – 2010-12-13 21:56:16