The example demonstrates how to handle Popup event for ContextMenu control.
Download the file by clicking the link above.