I have a master page that contains a WebMenu control. I am using the Office 2007 app style.
I have a regular page that uses the master.
On that page I have a WebSplitter control.
When I run it, everything looks and works fine.
When I place any other Infragistics controls into any of the WebSplitter panes, I lose the background color of my WebMenu.
Can anyone help me?
My guess is that it's the duplicate tags as well. But the real question is why there are duplicates coming from two different paths? Is /presentation/ig_res/ one of your content pages? Are you setting up the StyleSetPath in the web.config or on a per control basis? I would set it up in the web.config to ~/ig_res. That way even if you are in a content page, it's going to point to the same applicaiton relative path.
Hope this helps,
-Tony
The ig_menu.css file already has the background-color set explicitly. I think the problem may be related to the duplicate LINK tags. Here is a snippet (I removed surrounding HTML to make it easier to see):
<head><link href='/presentation/ig_res/office2007blue/ig_shared.css' type='text/css' rel='stylesheet' /><link href='/presentation/ig_res/office2007blue/ig_splitter.css' type='text/css' rel='stylesheet' /><link href='ig_res/office2007blue/ig_shared.css' type='text/css' rel='stylesheet' /><link href='ig_res/office2007blue/ig_menu.css' type='text/css' rel='stylesheet' /><style type="text/css"> .ig_d4377750_r0{width:100%;} .ig_d4377750_r8{background-image:url(ig_res/Office2007Blue/images/ig_menuSep.gif);background-repeat:repeat-x;} .ig_d4377750_r12{font-family:MS Sans Serif;font-size:8pt;color:Gray;}</style><link href='ig_res/office2007blue/ig_shared.css' type='text/css' rel='stylesheet' /><link href='ig_res/office2007blue/ig_tab.css' type='text/css' rel='stylesheet' /></head>
Yes, all of my controls are using the Office 2007 style. I will try your suggestion and post the results.
I noticed in the output HTML that many of the CSS files are referenced multiple times with LINK tags. Also, on some of the HTML elements, the CLASS attribute has the same class name repeated twice.
Is this normal?
Are your other controls using the Office2007 application style? My guess is that the base control class role (ig_Control) is defined diffferently in the styleset you're using on your content page. Try defining the background-color explicitly in the ig_menu.css file.