MainWeb.OnContextMenuShowClientFunction

MainWeb.OnContextMenuShowClientFunction property

Gets or sets the client side function to be called when the context menu will be shown. The client function should be declared like this: function onContextMenuShow() { var menu = event.srcElement; menu.setItemVisibility(“Delete”, “block”); menu.setItemVisibility(“Update”, “none”); }Note: You may use the “this” pointer in the client function to point the grid control which fires the event.

public string OnContextMenuShowClientFunction { get; set; }

See Also