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

Create my own k-tooltip-validation

1 Answer 36 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ran
Top achievements
Rank 1
Ran asked on 03 Dec 2015, 09:09 AM

Hi,

I'm trying to preventing the creation or updating of a task with the same route_id and the same period of a another task.

Here is my code : http://dojo.telerik.com/@idoglik6/ocavO

I'm using a function called : isRouteAlreadyScheduledInside() to find out if the user can continue with the save process or not.

if not the flag "sameRouteLocation" is on and the tooltip pop up.

My problem is that: It's not working so well and the tooltip icon pop up with delay.

I would be happy to use the build-in tooltip "k-tooltip-validation" with my condition (isRouteAlreadyScheduledInside) on my select called "Route".

 Thanks,

Ran

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 07 Dec 2015, 10:05 AM
Hi Ran,

The Kendo UI ToolTip opening and closing animations' duration can be adjusted through the animation.open.duration and animation.close.duration configuration properties.

You can explore other options for adjusting the widget to best suit the requirements here.

If you are not trying to speed up tooltip display, and the problem is something different, please provide a demo, which works, as the current one throws a Javascript error in the isRouteAlreadyScheduledInside function. Also explain the steps I need to perform in order to observe the tooltip delay.

Hope this helps.

Regards,
Dimiter Topalov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
Ran
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or