Home All Groups Group Topic Archive Search About
Author
11 May 2007 2:56 PM
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.

I've tried putting a panel around the menu, but that doesn't help.

Any suggestions?

--
Chris Davoli

Author
11 May 2007 10:12 PM
Phil H
On 11 May, 15:56, Chris Davoli <ChrisDav***@discussions.microsoft.com>
wrote:
Show quoteHide quote
> 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.
>
> I've tried putting a panel around the menu, but that doesn't help.
>
> Any suggestions?
>
> --
> Chris Davoli

Hi Chris

If you are working with ASP.NET v 2 I'd recommend the use of a Master
page to contain the menu control rather than a web user control.

HTH
Phil Hall