Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
903
Drop down menus not visible
posted

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.

Parents
  • 15979
    posted

    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):

    <style type="text/css">

            .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.

Reply Children