Author: claudi | Posted on: 10/26/2010 5:29:36 AM | Views : 361

I got a menu server control with 2 items and each items got its own childItems
MI3.Text = City;
MI3.Value = City;
Menu1.Items.Add(MI3);
MI.Text = CityName;
MI.Value = CiTyName;
Menu1.Items[0].ChildItems.Add(MI);
MI.Text = Country;
MI.Value = Country;
Menu1.Items.Add(MI);
           
MI.Text = CountryName;
MI.Value = CountryName;
Menu1.Items[1].ChildItems.Add(MI);
           

protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
    {
        string selectedItem = Menu1.SelectedItem.Text;

       ......


    }
If I select from the dropdownmenu city it will stop inside the menuItemClick code... but, if I select anything from the Country men ...

Go to the complete details ...