Do not use keyboard navigation in Window,Thank you for your help！
2 Answers, 1 is accepted
answered on 28 May 2020, 11:52 AM
Thank you for using our components!
Could you elaborate on how can we help you using our components and in this case the TelerikWindow?
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.
answered on 08 Jul 2021, 09:58 AM
If I understand your question correctly you would not like to allow your users to close the Modal window by clicking on the Esc keyboard key or by navigating to the Close (x) built-in button by using the Tab key. If indeed this is the case, this behavior is shown in the Keyboard Navigation demo for the Window and this is the expected result.
Alternatively, if you would like to stop the user from being able to close the window by clicking the built-in Close button you can remove the definition of the button from the markup:
<TelerikWindowVisible="true"><WindowActions><WindowActionName="Minimize" /><WindowActionName="Maximize" /><WindowActionName="Close" /> @* remove this line from the definition *@</WindowActions><WindowTitle>
I have action buttons. Try using them, but if you close me, you can't reopen me without a few lines of code, so try that last.
The title bar will now render even if you don't define a title, because it will show the action buttons.
If neither of these approaches helps you get the desired behavior could you provide some additional information so that I can further evaluate the scenario.