I have a webform with a radiobuttonlist and a panelcontrol. Here is the html coding for the radiobuttonlist.
html code
=========
<asp:panel id="pnladdemployee" runat="server">
<tr>
<td><asp:RadioButtonList id="rdoobjective" Runat="server" RepeatDirection="Vertical" CssClass="label">
<asp:ListItem Value="Add" Selected="True">Add Employee</asp:ListItem>
<asp:ListItem Value="Select">View Employee</asp:ListItem>
<asp:ListItem Value="Update">Update Employee</asp:ListItem>
<asp:ListItem Value="Delete">Delete Employee</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
My requirement is whenever i choose the "Add Employee" radiobutton then the panelcontrol named pnladdemployee should be displayed.For other radiobutton selection the panel visibility should be false.
What is the code to achieve this and in which event it should be coded? I am using vb.net as code behind
Please Help!