![]() Add a menu with the following structure:.((HtmlAnchor) item).Attributes.Add("class", "active") īelow are the steps to create a multilevel menu in your ASP.NET application: If (ResolveUrl(((HtmlAnchor)item).HRef).ToLower() Switch to your code and loop through the controls to add "active" class to an anchor with href matching the current URL.Where Default1.aspx, Default2.aspx, Default3.aspx are the content pages of your website. Create a file called CustomMenu.ascx and add a menu with the following html structure:. ![]() Please use the following approach to create a menu and apply Artisteer styles to it: Using ASP.NET Templates Applying Artisteer style to horizontal static menu Creating a multilevel menu Creating a vertical menu Adding static content - method 1 Adding static content - method 2 Adding dynamic content Utilizing Menus Applying Artisteer active menu style to your horizontal static menu
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |