+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Rad menu option

Rad menu option

2 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    12 Jun 2009
    Link to this post
    Hi Guys,

    I need to know if my Radmenu can do this kind of layout...

    http://www.sixfoot.co.za/radmenu.gif

    How can I configure the menu to layout like this?

    Thanks
    James
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Jun 2009
    Link to this post
    Hello James,

    You need to create a custom skin for your RadMenu control. Then you can add images on the items that will shown OnClientMouseOver client- side event.
    The you can add logic for expanding all items of the current item onClientMouseOver event

    sample code:

    <script type="text/javascript">  
        function expandItems(menu, args) {  
            var items = menu.get_allItems();  
         
          for (var i = 0; i < items.length; i++) {  
                var item = items[i];  
                var level = item.get_level();  
                if (level != 0) {  
                    item.open();  
               }  
            }  
        }   
          
    </script>   


    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered