Hi friends,
I have a drop down called customerType. Based on the selection of the dropdownlist box item, each hyperlink which in html tag has visible set to false are turned to true.
But when choosing a different selection i have to programmatically set it to false again as shown below in case 2 otherwise both the links show up. Is there an easier way cause in case of 10 links the process looks tedious.
Thank you
string ddlReportName = CustomerTypeddl.SelectedItem.Value;switch (ddlReportName)
{
case "1":
Customer1HL.Visible = true;
Customer2Hl.Visible = false;
break;
case "2":
Customer1HL.Visible = false;
Customer2Hl.Visible = true;
break;
...
Go to the complete details ...