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

Pop Up Window without focus

4 Answers 101 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 11 May 2015, 11:29 AM

Hi,

We are using a pop up window to display information about a selected item in a grid.  When the user selects the grid item the window appears but it then has focus.

Is there a way to pop-up the window but retain focus on the calling control?

Regards,

Mark.

4 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 13 May 2015, 07:29 AM

Hello Mark,

There is no built-in way to set where the focus on the page should be, but if you need something like this you can manually set the focus using the jQuery focus() method:

https://api.jquery.com/focus/

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Accepted
Kiril Nikolov
Telerik team
answered on 13 May 2015, 08:05 AM

Hello Mark,

 

I would like to follow up on your ticket with the following link that shows the autoFocus feature of the Kendo UI Window, please accept my apologies for the misunderstanding in the first response:

 

http://docs.telerik.com/kendo-ui/api/javascript/ui/window#configuration-autoFocus

 

 

http://docs.telerik.com/kendo-ui/api/aspnet-mvc/Kendo.Mvc.UI.Fluent/WindowBuilder#methods-AutoFocus(System.Boolean)

 

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 13 May 2015, 01:11 PM
Perfect, that's exactly what I was looking for...  Thank you!
0
Kiril Nikolov
Telerik team
answered on 15 May 2015, 07:19 AM

Hello Mark,

Happy to help.

If you have any further questions, do not hesitate to contact us.

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Window
Asked by
Mark
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Mark
Top achievements
Rank 1
Share this question
or