Menu on User Control

C

Chris Davoli

I put a menu on a user control (ascx) so that I can put the user control on
all web pages (aspx) and have one central location ie; the header user
control in this case, but it has problems.

1.) It can't find the stylesheet even though the style sheet is on the web
page.
2.) After the first submit of the page, if you mouse over the top level menu
item, they don't collapse when you go from top level menu item to top level
menu item. All menu items just gets frozen in the down position. The mouse
over won't collapse the menu.

I've tried putting a panel around the menu, but that doesn't help. I can't
use a master page. If I take the user control off the page (which contains
the menu) and put the menu control on the asp page, it works, but I don't ant
to have to do this for every page.

Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,061
Latest member
KetonaraKeto

Latest Threads

Top