ASP menu bar, static view

I am looking to create a menu bar with a specific type of "action"

Similar to the bar on this website

BBC Sport

It is completely static and has no dynamic or "pop-up" sections. When you click on the top menu, the page will reload and display the bottom level in a different color.

Can standard ASP: menu control be achieved?

I'm not a big fan of the popup function, but I don't want all my options to be visible to my users in the root directory

Hope that makes sense

0


a source to share


1 answer


Check out this basic ASP.Net menu control page . You can click the Run buttons to view very simple versions of the menus.

The advantage of using this particular approach is that you can link it to your sitemap, so you don't have to constantly update your menu code. You simply add pages to the sitemap and the menu selects it.

You can also dynamically link the menu to various site files, for example for the admin menu and another for the regular users menu.

The menu control is in the navigation section of the toolbar.



To experiment with the built-in functionality (before writing your own code to do what it will do for you), simply drag the menu control onto your form. Then use the common tasks menu to:

  • autoformat - good for quick and dirty because it sets hoverstyle too
  • set data source
  • set view type (static or dynamic)
  • define menu items with an editor
  • working with templates to set the appearance

You need to go to properties to set the appearance of the menu.

0


a source







All Articles