Adding icon to radtextbox

3 posts, 0 answers
  1. Katya
    Katya avatar
    21 posts
    Member since:
    May 2013

    Posted 02 Jul 2013 Link to this post


    How can I add a icon to the right most position in a Radtextbox?

    Thanks for replying
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jul 2013 Link to this post


    As far as I know the RadTextbox does not provide a predefined property to add images or icons. Still with the help of CSS you can achieve your requirement. Please have a look at the following code I tried which works fine at my end.

    <telerik:RadTextBox ID="RadTextBox1" runat="server">
    <asp:Image ID="aspimage1" runat="server" ImageAlign="AbsMiddle" CssClass="styleIcon"
        ImageUrl="~/Images/del.jpg" />

    <style type="text/css">
            margin-left: -23px;
            padding-right: 21px !important;

  3. DevCraft R3 2016 release webinar banner
  4. Gabriel
    Gabriel avatar
    33 posts
    Member since:
    Apr 2011

    Posted 30 Jul 2013 Link to this post

    it worked perfect for me.

    One thing to fix.

    you added the cssClass styleIcon to the image and in the css says textboxstyle instead

    Besides that, works fine :)
Back to Top