I am trying to replace an UltraWebMenu with a WebDataMenu. My menu is in a user control. Standard menu across the top with drop downs. The UltraWebMenu drop downs show fine. With the WebDataMenu they do not show. What I have discovered is that if I set the height of the WebDatMenu really big then then drop-down items do drop-down and display in the menu area. Of course that covers up the page so is not a solution. It is probably something simple but I've not found it. The menu is in a row of a table but taking it out and putting it above the table makes no difference.
Also using an XML source, as I am, I can't see how to format the menu items. I am not using Themes.
Hello nickhoare,
I was unable to reproduce your scenario exactly, because you did not provide me the code of your user control.
However I have created a simplified example based on your information. In that example the “WebDataMenu” is inserted in table and populated with static data. The menu is working as expected, but it’s not inserted in your user control. If you want, you can try to modify this example to represent the behavior of your application, or send me your own example.
You can download example from here - http://community.infragistics.com/members/AEftimov/files/Samples/WebDataMenu-_2D00_-nickhoare.zip.aspx
You can format menu items by overriding the default styles in your .aspx page (see the attached example):
<style type="text/css">
.igdm_ControlHorizontal
{
cursor: default;
float:left;
white-space: nowrap;
font-family: Segoe UI,Arial,Lucida Grande,Lucida Sans Unicode,Lucida,Helvetica,Sans-serif;
background-image: none;
background-repeat: repeat-x;
background-position: top;
background-color: #5BBDC1;
border: 0px none;
}
Or you can define your own styles (again in .aspx page):
.myStyle
width: 100%;
And then add them as item “CssClass” attribute by providing the name of the class (“myStyle” in above example).
I am looking forward to hearing from you.
Also can you tell me where the style names, you have used, are documented?
I have modifed your example and put a modified version of my users control into it. It exhibits exactly the problem I have been experiencing.
I have uploaded a zip with the modified example. The zip file does not include the ig_res folder as that made it exceed the 200k upload limit
Thanks