Placeholder encding icon

3 posts, 0 answers
  1. Alan Mosley
    Alan Mosley avatar
    200 posts
    Member since:
    Apr 2010

    Posted 08 Feb 2015 Link to this post

    with an input tag I can use a fontawesome icon in the placeholder use the following " find your school"
    but with autocomplete this does not show as an icon.
    I assume there is some sort of encoding going on, how can I get around this? thanks
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 11 Feb 2015 Link to this post

    Hi Alan,

    Setting font icon placeholder via the AutoComplete properties is not supported. What I would suggest is to use the placeholder HTML attribute (example).

    Regards,
    Iliana Nikolova
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Alan Mosley
    Alan Mosley avatar
    200 posts
    Member since:
    Apr 2010

    Posted 11 Feb 2015 in reply to Iliana Nikolova Link to this post

    Thanks, that was what I doing using the placeholder, but did not work in the MVC widgets, but I soleved it using Server.HtmlDecode("") & " find your school"
Back to Top