OnClientHidden | RadMenu for ASP.NET AJAX Documentation
Edit this page


(RadContextMenu only) The OnClientHidden client-side event occurs when the context menu disappears.

The event handler receives a single parameter: a reference to the client-side object for the context menu.

You can use this event to respond when the context menu disappears:

<script type="text/javascript">
    function Goodbye(menu) {    
    // reset all items to their initial state
        for (var i = 0; i < menu.get_allItems().length; i++) {
<telerik:RadContextMenu ID="RadContextMenu1" runat="server" OnClientHidden="Goodbye">

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article