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

How to restrict keyboard navigation in Kendo Window

1 Answer 191 Views
Window
This is a migrated thread and some comments may be shown as answers.
FSA
Top achievements
Rank 1
FSA asked on 28 Nov 2013, 03:25 AM
Can anyone tell me a cleaner way of restricting keyboard navigation in kendo Window?

I want to stop kendo Window draggable property using keyboard navigation.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Nov 2013, 01:42 PM
Hi Rahul,

Keyboard navigation cannot be turned off declaratively, but you can disable it by removing the two Window tabindex attributes:

$(".k-window").add(".k-window-content").attr("tabindex", "");

In this way you will prevent the Window from receiving focus, so its keyboard event handlers will stop working.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
FSA
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or