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


This event is fired before the header context menu is rendered.

Fired by RadGrid
Arguments gridColumn - current GridColumn object domEvent - the original browser event menu - header menu instance
Can be canceled Yes


<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server">
        <ClientEvents OnHeaderMenuShowing ="HeaderMenuShowing" />
function HeaderMenuShowing(sender, eventArgs) {
    if (eventArgs.get_gridColumn().get_uniqueName() == "ContactName") {
        //hide the Clear sorting option from the header context menu of the column with name ContactName
        eventArgs.get_menu().get_items().getItem(2).get_element().style.display = "none";
In this article