Dialog: Custom action for [x] close button

2 posts, 0 answers
  1. Domenico
    Domenico avatar
    2 posts
    Member since:
    Apr 2017

    Posted 06 May Link to this post

    Hello,

    starting from the example in this page http://www.telerik.com/kendo-angular-ui/components/dialog/service/#toc-specify-custom-actions ,

    there is a way to assign a custom action for the [x] close button? I have to assign a guard before close dialog

    Thank's

  2. Joana
    Admin
    Joana avatar
    126 posts

    Posted 10 May Link to this post

    Hello Domenico,

    You could subscribe to the DialogCloseResult which will fire when clicking over the [x] icon. A sample which shows the behavior: http://www.telerik.com/kendo-angular-ui/components/dialog/service/#toc-usage.

    Regards,
    Joana
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top