hide "image" area

7 posts, 0 answers
  1. Sean Overman
    Sean Overman avatar
    31 posts
    Member since:
    Sep 2012

    Posted 26 May 2010 Link to this post

    the default for RadToolBarButton puts an "image" area where the background is a different color, i would like to hide this section for all toolbarbuttons.  I've seen the ImagePosition property, but there is no "none".

    Any ideas?  Am I just missed something here?
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 01 Jun 2010 Link to this post

    Hello Sean,

    What is your RadToolBar definition? Can you also attach an image showing what the problem is? Thanks.


    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Yeroon
    Yeroon avatar
    87 posts
    Member since:
    Oct 2012

    Posted 28 Oct 2011 Link to this post

    I think he means the following. On a dropdown you have buttons with an optional image in front. He (as do I) probably doesn't use any images and wants to hide the reserved space for the images. I attached a screenshot. The aim is to hide the area in the red rectangle. I would like to do the same. Any suggestions?

  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Oct 2011 Link to this post

    Hello Yeroon,

    You can try the following CSS.

    CSS:
    <style type="text/css">
     .RadToolBarDropDown .rtbWrap
     {
        padding:3px !important;
     }
    </style>

    Thanks,
    Princy.
  6. Yeroon
    Yeroon avatar
    87 posts
    Member since:
    Oct 2012

    Posted 28 Oct 2011 Link to this post

    Thanks for your reply Princy. This only moves the text though and the visible image area remains. See attached screenshot. I am trying to remove the whole different colored image area.

  7. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Oct 2011 Link to this post

    Hello Yeroon,

    You can try the following CSS.

    CSS:
    <style type="text/css">
    .RadToolBarDropDown .rtbWrap
    {
      background-color:White !important;
      padding:3px !important;
    }
    </style>

    Thanks,
    Princy.
  8. Yeroon
    Yeroon avatar
    87 posts
    Member since:
    Oct 2012

    Posted 08 Nov 2011 Link to this post

    Somehow can't mark your answer as THE answer (probably cause thread was closed). But thanks Princy. It works!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017