After open a Dialog how can I block the background clicks?

2 posts, 1 answers
  1. Miguel
    Miguel avatar
    17 posts
    Member since:
    Jan 2019

    Posted 22 Jan 2019 Link to this post

    Hi,

    I'm working for first time with telerik and there are things I can't achieve.

    I'm working in a site with a lateral menu. When I click in an option I load data in the main screen. In this screen sometimes i have dialogs (I'm loading them correctly and they are doing what they does). When I've opened one of this dialogs I can click on the lateral menu. I would like know how to prevent the background clicks.

    Thanks in advance.

    Best regards.

  2. Answer
    Eyup
    Admin
    Eyup avatar
    4074 posts

    Posted 23 Jan 2019 Link to this post

    Hello Miguel,

    You can achieve this requirement by enabling the modal property:
    https://docs.telerik.com/kendo-ui/api/javascript/ui/dialog/configuration/modal

    You can also do that with the Window component:
    https://docs.telerik.com/kendo-ui/api/javascript/ui/window/configuration/modal

    I hope this will prove helpful.

    Regards,
    Eyup
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top