protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
{
RadioButtonList1.AutoPostBack = true;
Response.Write("hello");
this.Label1.Text = "test";
}
}
<asp:RadioButtonList ID="RadioButtonList1" AutoPostBack="true" runat="server" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
<asp:ListItem Value="MS">Middle School</asp:ListItem>
<asp:ListItem Value="HS">High School</asp:ListItem>
</asp:RadioButtonList>
is there a way to get a radio button selection and post back the page. my dropdown and list box work, without any code behind. Cant seem to get the radiobuttonlist to do the same??
Go to the complete details ...