C# asp.net radiobuttonlist在选择时不触发
我创建了一个简单的radiobuttonlist。我写了一个简单的函数来做一些关于选择的事情 这是无线电按钮列表C# asp.net radiobuttonlist在选择时不触发,c#,asp.net,radiobuttonlist,C#,Asp.net,Radiobuttonlist,我创建了一个简单的radiobuttonlist。我写了一个简单的函数来做一些关于选择的事情 这是无线电按钮列表 <asp:RadioButtonList ID="payment_type" CssClass="rbl_type" runat="server" TextAlign="Right" RepeatDirection="Horizontal" BorderStyle="None" OnSelectedIndexChanged="payment_type_SelectedInde
<asp:RadioButtonList ID="payment_type" CssClass="rbl_type" runat="server" TextAlign="Right" RepeatDirection="Horizontal" BorderStyle="None" OnSelectedIndexChanged="payment_type_SelectedIndexChanged">
<asp:ListItem Value="0">Serbest Ödeme</asp:ListItem>
<asp:ListItem Value="1">Ön Tanımlı Ödeme</asp:ListItem>
</asp:RadioButtonList>
但它不会触发任何东西。我做错了什么?添加
AutoPostBack="true"
属性添加到您的
标记。使用AutoPostBack=true
AutoPostBack="true"