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

Styling the Validation (tooltip type)

2 Answers 251 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Hem
Top achievements
Rank 1
Hem asked on 24 Jan 2012, 04:23 PM
hi,
Is there any way to change the style from normal to tool tip like Silverlight when the mouse goes over the text-box and then the error appear? instead of having it on the side of the textbox?

thanks

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 25 Jan 2012, 11:43 AM
Hello Hem,

I am afraid this is not supported out-of-the-box. You can try setting the position of the validation message to "absolute", so that it does not push adjacent content:

body  span.k-tooltip-validation
{
    position: absolute;
}

However, note that the success of this approach may depend on the exact scenario and layout.

Kind regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
James
Top achievements
Rank 1
answered on 27 Jul 2012, 12:57 PM
There are a couple of problems with this approach:

1. The validation error doesn't deal with position and the edges of the screen so it goes off the screen. (and there is no way as far as I'm aware to set alignment).

2. I have been unable to manually position the tooltip (I'd like to put it above or below the control)

The validation control really needs to support tooltip mode and in both modes allow placement of the result. (i.e. even in inline mode it should be able to be placed below or above the control)
Tags
Validation
Asked by
Hem
Top achievements
Rank 1
Answers by
Dimo
Telerik team
James
Top achievements
Rank 1
Share this question
or