New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


(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

In this article