This is a migrated thread and some comments may be shown as answers.

RadSubMenuItem display...

2 Answers 55 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Naresh
Top achievements
Rank 1
Naresh asked on 21 May 2011, 11:06 AM
Hi,

I have a problem with RadMenuItem,

My Question is, I have created one RadMenu with RadMenuItems, where the RadMenuItems will display in horizontal direction.

Up to now it is working fine, but when i click on outside of RadMenu, the RadMenuItems are not displaying

How to display the RadMenuItems continuously ...


Please help me..

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 23 May 2011, 09:29 AM
Hello Naresh,

You could achieve this by canceling the OnClientItemClosing event.
JavaScript:
function OnClientItemClosing(sender, args)
     {
        args.set_cancel(true);//this will prevent the Menu Item from closing
     }

Thanks,
Shinu.
0
Naresh
Top achievements
Rank 1
answered on 23 May 2011, 11:03 AM
Hi Shinu,

Its working fine, but when I click on next menu item the last opened submenu is not closing.....

Please help me

Thanks
Naresh
Tags
Menu
Asked by
Naresh
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Naresh
Top achievements
Rank 1
Share this question
or