This is a migrated thread and some comments may be shown as answers.

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

1 Answer 411 Views
Dialog
This is a migrated thread and some comments may be shown as answers.
Miguel
Top achievements
Rank 1
Miguel asked on 22 Jan 2019, 04:01 PM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 23 Jan 2019, 08:26 AM
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.
Tags
Dialog
Asked by
Miguel
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or