Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Repost - Menu on user control

Reply
Thread Tools

Repost - Menu on user control

 
 
Chris Davoli
Guest
Posts: n/a
 
      05-17-2007
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?

--
Chris Davoli

 
Reply With Quote
 
 
 
 
KyleK
Guest
Posts: n/a
 
      05-17-2007
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.
--
Kyle Kelin
..NET Developer
www.dotnetmafia.com


"Chris Davoli" wrote:

> 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?
>
> --
> Chris Davoli
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Control to Control Other User Control Jonathan Wood ASP .Net 4 02-02-2010 03:41 PM
REPOST: Adding child elements to user control declaration =?Utf-8?B?bmV3R3V5?= ASP .Net 3 09-06-2007 03:08 PM
persisting changes to a control outside a user control from the user control? Mad Scientist Jr ASP .Net 0 03-22-2006 08:02 AM
repost of question regarding right click menu D@Z Computer Support 1 08-05-2004 08:35 PM
Events for menu user control using ie web control Sunkam Santhoshi ASP .Net 0 12-16-2003 09:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57