Dialog: Custom action for [x] close button

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

    Posted 06 May 2017 Link to this post


    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


  2. Joana
    Joana avatar
    157 posts

    Posted 10 May 2017 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.

    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