Hi all,
I'm a complete beginner with Telerik so I hope I explain this right.
I have a RadMenu set up where you can mouseover a RadMenuItem and it calls an AJAX method to fetch a description, which then gets displayed in a label at the bottom of the menu. It's something along the lines of this Telerik demo with the map, except the event is onmouseover and not onclick. This all works great.
However, you can imagine if someone is mousing down a menu of say 20 items, you only want the Ajax call to fire when the user rests on a particular menu item e.g. for say at least 0.25 seconds. That way I'm not sending 20 Ajax calls off unnecessarily.
Is there a way to delay the firing of the Ajax call?
I'm a complete beginner with Telerik so I hope I explain this right.
I have a RadMenu set up where you can mouseover a RadMenuItem and it calls an AJAX method to fetch a description, which then gets displayed in a label at the bottom of the menu. It's something along the lines of this Telerik demo with the map, except the event is onmouseover and not onclick. This all works great.
However, you can imagine if someone is mousing down a menu of say 20 items, you only want the Ajax call to fire when the user rests on a particular menu item e.g. for say at least 0.25 seconds. That way I'm not sending 20 Ajax calls off unnecessarily.
Is there a way to delay the firing of the Ajax call?