954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Vertical Menu

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.

SreekanthVenkat
Newbie Poster
2 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

Welcome SreekanthVenkat,

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

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

http://www.asp.net/Learn/DataAccess

Host : Scott Mitchell [ King Of Asp.net]

you'll thank me one day for this tutorial.....

hope it helps..

dnanetwork
Practically a Master Poster
Banned
633 posts since May 2008
Reputation Points: 28
Solved Threads: 106
 

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

SreekanthVenkat
Newbie Poster
2 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

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);


}

Ramesh S
Posting Pro
583 posts since Jun 2009
Reputation Points: 165
Solved Threads: 113
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You