Using a custom icon for the validator

2 posts, 0 answers
  1. rerard
    rerard avatar
    1 posts
    Member since:
    Dec 2006

    Posted 11 Apr 2012 Link to this post

    Hi, how can I replace icon in the invalid message with my own icon?
  2. Kjell
    Kjell avatar
    274 posts
    Member since:
    Jun 2010

    Posted 12 Apr 2012 Link to this post

    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.

Back to Top