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
20
open submenu from main menu [through asp.net(c#) code].........
posted

Hi,

    I am using this menu control for the first time.I am using it in asp.net 2.0 using c#.

Can anyone tell me that that how to open sub menu from the main menu through asp.net (c# code).

 

A little help will be great full. currently i am in the middle of the project.

 

Thanks in advance.

 

regards,

pranav.

 

Parents
  • 7694
    Suggested Answer
    posted

    Hello,


    You can use the JS code and on client side  open the sub menu. You have to use the onload="Load()" event of body tag. And use the menu client side API to expand the sub menu. You can use function below to get menu and menu items like DOM objects.

        var menu = igmenu_getMenuById("<%=UltraWebMenu1.ClientID %>")
        var item = igmenu_getItemById("UltraWebMenu1_1");

    Hope this helps.

Reply Children
No Data