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

Equivalent for isMouseOverElementEx

2 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Dan asked on 16 Nov 2017, 06:44 AM

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 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 17 Nov 2017, 12:40 PM

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.
0
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 17 Nov 2017, 12:54 PM

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.

Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Ianko
Telerik team
Dan
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or