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.
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.
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..
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);
}
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.