Is there anyway to check on the client side whether an event is attatched to a menu item? I am setting the OnClientItemClicked event of the menu and it is not firing when I click a menu item. I'm setting the event in my code behind page on the server side like this...
mainMenu.OnClientItemClicked = "hideMainMenu";
Basically what I want to do is have a "Menu" button that will show the menu and then after they select any of the menu items, I want to hide the meu again. Very similar to how a context menu with the exception that this will be the main menu. It is up to the client though, if they want to always show the menu or only show it when the click the menu button which is why I am setting the OnClientItemClicked event in code vs on the page.
Thanks!
===== Menu Code in ASPX page =============
<telerik:RadMenu ID="mainMenu" runat="server"
EnableViewState="False" Flow="Vertical" Skin="Vista">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:RadMenu>
mainMenu.OnClientItemClicked = "hideMainMenu";
Basically what I want to do is have a "Menu" button that will show the menu and then after they select any of the menu items, I want to hide the meu again. Very similar to how a context menu with the exception that this will be the main menu. It is up to the client though, if they want to always show the menu or only show it when the click the menu button which is why I am setting the OnClientItemClicked event in code vs on the page.
Thanks!
===== Menu Code in ASPX page =============
<telerik:RadMenu ID="mainMenu" runat="server"
EnableViewState="False" Flow="Vertical" Skin="Vista">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:RadMenu>