New to KendoReact? Learn about KendoReact Free.
Dialog Events
Updated on Oct 27, 2026
The KendoReact Dialog fires the onClose event when the user clicks the titlebar Close button or presses Esc. The event argument holds the original event and the Dialog instance.
To close the Dialog in this event handler, update the state that controls its rendering. The Dialog handles Esc only when you attach an onClose handler.
The buttons you place inside the DialogActionsBar have their own onClick handlers and do not fire onClose. The following example handles onClose and the click of an action button.
Loading ...