C# C GridView/RadioButton未触发事件。。。为什么?
我有一个gridview,其中包含数据行和一组可选择的单选按钮。但是,当选中时,事件将不会为无线电下拉菜单触发。。。。为什么?C# C GridView/RadioButton未触发事件。。。为什么?,c#,asp.net,gridview,C#,Asp.net,Gridview,我有一个gridview,其中包含数据行和一组可选择的单选按钮。但是,当选中时,事件将不会为无线电下拉菜单触发。。。。为什么? <ItemTemplate> <asp:RadioButton ID="rdoV" runat="server" Checked='<%# Bind("VOID") %>' AutoPostBack="True"
<ItemTemplate>
<asp:RadioButton ID="rdoV"
runat="server" Checked='<%#
Bind("VOID") %>' AutoPostBack="True"
oncheckedchanged="RadioButton1_CheckedChanged"
GroupName='<%# BIND("WallstreetID")
%>' />
</ItemTemplate>
protected void RadioButton1_CheckedChanged(object sender, EventArgs e)
{
}
确保在未检查IsPostBack的情况下,不会在Page_Load事件中重新绑定网格。这可能会清除网格内部的其他事件。确保在未检查IsPostBack的情况下,不会在页面加载事件中重新绑定网格。这可能会消除网格内部的其他事件