<asp:RadioButtonList ID="RadioButtonList1" runat="server"> <asp:ListItem>Option1</asp:ListItem> <asp:ListItem>Option2</asp:ListItem> <asp:ListItem>Option3</asp:ListItem> <asp:ListItem>Option4</asp:ListItem> <asp:ListItem>Option5</asp:ListItem> <asp:ListItem>Option6</asp:ListItem> </asp:RadioButtonList> <p></p> <p></p> <asp:Button ID="Button1" runat="server" Text="Go To URl" OnClick="Button1_Click" />
if (RadioButtonList.SelectedItem.Text == "Option1") { Response.Redirect("someurl"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)