Equivalent for isMouseOverElementEx

3 posts, 0 answers
  1. Dan
    Dan avatar
    14 posts
    Member since:
    Nov 2017

    Posted 16 Nov Link to this post

    Hi,

    I have implemented a popup window that display a text and I need to close the popup if the user clicks outside of the window. Searching in telerik forums I have found that there is way to do this using the method $telerik.isMouseOverElementEx. But this method is available only for Telerik ASP.NET Ajax.

    Is there an equivalent for this method in the product Telerik ASP.NET MVC?

  2. Ianko
    Admin
    Ianko avatar
    1740 posts

    Posted 17 Nov Link to this post

    Hello Dan,

    Typically, you there are many approaches using the jQuery API. There is no specific single method built-in that can help you with that in Kendo UI. For example, you could use the hover event:  http://dojo.telerik.com/aHEyoc. Or you can have a generic function (similar to the isMouseOverElementEx method): https://stackoverflow.com/questions/8981463/detect-if-hovering-over-element-with-jquery.

    However, there is no single solution for the case and the implementation of such case depends mostly on the exact requirements and needs. 

    Regards,
    Ianko
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Dan
    Dan avatar
    14 posts
    Member since:
    Nov 2017

    Posted 17 Nov in reply to Ianko Link to this post

    Hi Ianko,

    The context that I want to use, as I already said, is with a telerik window opened as a popup.

    Also I already tried the is(":hover") and it does not work on children, that is why I found the isMouseOverElementEx.

    Anyway I think I found my solution using what the window already provides.

Back to Top