I have a radiobuttonlist that has 3 values:
I also have a dropdownlist called "product", dropdownlist called "tank" and a textbox called "datetxt".
When the user selects "Product" from the radiolist I want the dropdownlist (product) to be visible and when the user selects from the radiolist "Tank", then I want the dropdownlist (tank) to be visible. All of these controls, except for the radiolist are not visible on page_load. The radiobuttonlist has autopostback set to True. I thought I could write something like this, but it doesn't work.
If RadioButtonList1.SelectedItem.Text = "Product" Then
product.Visible = True