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

Using a custom icon for the validator

1 Answer 60 Views
Validation
This is a migrated thread and some comments may be shown as answers.
rerard
Top achievements
Rank 1
rerard asked on 11 Apr 2012, 10:58 PM
Hi, how can I replace icon in the invalid message with my own icon?

1 Answer, 1 is accepted

Sort by
0
Kjell
Top achievements
Rank 1
answered on 12 Apr 2012, 09:37 AM
I figured out a way to do it, I replaced this line:

<span class="k-icon k-warning"></span>

in the kendo.validator.js file with my img, then I added a CSS class for .k-tooltip-validation to my page to clean it up a bit.  Let me know if this is not the preferred method.

Tags
Validation
Asked by
rerard
Top achievements
Rank 1
Answers by
Kjell
Top achievements
Rank 1
Share this question
or