Hi Sir/Madam,

Iam new to ASP.NET.
I want to add Vertical menu to the left of Master Page. Please help me.

Regards,
Sreekanth Kumar.

Welcome SreekanthVenkat,

Use Menu Control from Navigation toolbox. Set Orientation property to set it Horizontal or vertical.

Welcome SreekanthVenkat,

Use Menu Control from Navigation toolbox. Set Orientation property to set it Horizontal or vertical.

ThanQ........

How to add Submenu .... Iam try please dont mind.... Help mee

Try this

if (!IsPostBack)
        {
            MenuItem menuHome = new MenuItem("Home");
            MenuItem menuMusic = new MenuItem("Music");
            menuMusic.NavigateUrl = "Music.aspx";            

            MenuItem menuClassical = new MenuItem("Classical");
            menuClassical.NavigateUrl = "Classical.aspx";
            menuMusic.ChildItems.Add(menuClassical);

            MenuItem menuRock = new MenuItem("Rock");
            menuRock.NavigateUrl = "Rock.aspx";
            menuMusic.ChildItems.Add(menuRock);  
          
            menuHome.ChildItems.Add(menuMusic);

            MenuItem menuMovies = new MenuItem("Movies");
            menuMovies.NavigateUrl = "Movies.aspx";

            MenuItem menuAction = new MenuItem("Action");
            menuAction.NavigateUrl = "Action.aspx";
            menuMovies.ChildItems.Add(menuAction);

            MenuItem menuDrama = new MenuItem("Drama");
            menuDrama.NavigateUrl = "Drama.aspx";
            menuMovies.ChildItems.Add(menuDrama);
            menuHome.ChildItems.Add(menuMovies);
            
            Menu1.Items.Add(menuHome);


        }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.