Repost - 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.) 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.

2.) It can't find the stylesheet even though the style sheet is on the web
page.

I've tried putting a panel around the menu, but that doesn't help. Also
tried to put the menu on a master page, but then the menu is goofy and
uncollapsed. The menu works on a regular aspx page.

Any suggestions?
 
K

KyleK

Chris,

View the source and make sure that it is rendering the html for the
mouseover? If it is not getting rendered properly it could be the control
isn't being added to the page before it finishes beign built. This could be
caused by which event that you are loading the control in.
 

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,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top