Hello,
Could you show me or point me to the direction to figure out how I can actually disable the "onclick" event on the disable menu item? Please look at this code segment. Even when the "ADD-PROFILE-LIST" menu item is disabled, when clicking on it, the "ShowEditForm" script still activates, which pop-ups a window.
Thanks in advance.
Tri
P.S: I don't have a way to attach the .zip file with all the code files.
Could you show me or point me to the direction to figure out how I can actually disable the "onclick" event on the disable menu item? Please look at this code segment. Even when the "ADD-PROFILE-LIST" menu item is disabled, when clicking on it, the "ShowEditForm" script still activates, which pop-ups a window.
Thanks in advance.
Tri
P.S: I don't have a way to attach the .zip file with all the code files.
<telerik:RadMenu ID="rmnSideBar" runat="server" Flow="Vertical" Skin="Default" EnableEmbeddedSkins="True" EnableSelection="false" Style="z-index: 3900;"> <Items> <telerik:RadMenuItem runat="server" HoveredImageUrl="~/Images/Buttons/btn_Functions_glow.png" ImageUrl="~/Images/Buttons/btn_Functions.png" Width="26px"> <Items> <telerik:RadMenuItem runat="server" ImageUrl="~/Images/24/report_add_24.png" Text="Add to Profile List" Visible="true" onclick="return ShowEditForm('PopWin1', 0, 520, 370);" Enabled="false" Value="ADD-PROFILE-LIST"> </telerik:RadMenuItem> </Items> </telerik:RadMenuItem> </Items></telerik:RadMenu>