ASP.NET 2 Menu problem when created dynamically inside a web part

J

Jose Walker

Hi there!

I've been fighting with an issue that by now is driving me crazy. I've
developed a ASP.NET 2 web part from which I build dynamically an ASP.NET 2
Menu control,
I populate the control dynamically as well... and everything seems to be ok.

When running the web application, I get the menu rendered, but no styles are
applied to the menu, nor does displays the submenus correctly.
When hovering on the menu, displays an emply layer at the top-left of the
screen while the sub menu is displayed underneath the calling menu title,
damaging all the style of the page.

Is this a bug? how can I solve it?

FYI, I've created a custom web server control in the application with the
same code behind as the web part control, and there it works perfectly with
no problem, I can take this web user control and drop it onto a web part
zone and get it working.

What I'm doing wrong on the WebPart control???

Thanks,

Jose.
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top