how to add multiview in a radio button
- by Naveen31
protected void ddlto_SelectedIndexChanged(object sender, EventArgs e)
{
}
protected void RadioButton1_CheckedChanged1(object sender, EventArgs e)
{
MultiView1.ActiveViewIndex = 0;
}
protected void RadioButton2_CheckedChanged(object sender, EventArgs e)
{
MultiView1.ActiveViewIndex = 2;
}
<asp:RadioButtonList ID="RadioButtonList2" runat="server" AutoPostBack="True"
RepeatDirection="Horizontal" Font-Names="Arial" Font-Size="Small"
onselectedindexchanged="MultiView1_ActiveViewChanged">
<asp:ListItem Selected="True">One Way</asp:ListItem>
<asp:ListItem>Round Trip</asp:ListItem>
<asp:ListItem>Multi City</asp:ListItem>
</asp:RadioButtonList>
i have a radiolist of thre buttons-one way,round trip and multicity, i have taken a multiview in which in view 2 i have added the codes codes,and i want to show that code when i click on the 2nd radio button i.e on round trip,how to do it. plzz help