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

Open validation tooltip immediately on error

1 Answer 265 Views
TimeSpanPicker
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Veteran
Brandon asked on 25 Aug 2018, 10:01 PM
I have a RadTimeSpanPicker with some Binding validation implemented. I want to immediately show the validation tooltip if a binding validation error occurs (see attached screenshot).  Currently, the tooltip only shows when the mouse hovers over the upper right corner.  However, this corner is so small it's difficult to position the mouse over it to see the error message.  How do I immediately display this tooltip when the error is detected?

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 29 Aug 2018, 02:55 PM
Hello Brandon,

Thank you for the attached picture.

I looked into the described requirement, however I am afraid that it is not possible to force the ToolTip to stay open. Can you take a look at the following thread in our forum where a similar question was discussed: Validation Error Tool Tip Template?

One possible suggestion that I can offer is to increase the size of the element which contains the tooltip. You can extact and modify the RadTimeSpanPicker default style. You would need to modify the template that is set to the Validation.ErrorTemplate property of the control. Its key is ValidationTooltipTemplate.

Another suggestion that I can offer is to set the Validation.ErrorTemplate to null and show something else in order to inform the user that there was an error. You can use the Validation.HasError attached property which will be True when there is a validation error. This approach would also require modifying the RadTimeSpanPicker ControlTemplate. 

I hope you find this helpful. Let me know if I can be of any further assistance.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TimeSpanPicker
Asked by
Brandon
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or