Pop Up Window without focus

5 posts, 1 answers
  1. Mark
    Mark avatar
    90 posts
    Member since:
    Jul 2014

    Posted 11 May 2015 Link to this post

    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.

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 13 May 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 13 May 2015 Link to this post

    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
  5. Mark
    Mark avatar
    90 posts
    Member since:
    Jul 2014

    Posted 13 May 2015 in reply to Kiril Nikolov Link to this post

    Perfect, that's exactly what I was looking for...  Thank you!
  6. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 15 May 2015 Link to this post

    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready