Custom Close Button

3 posts, 0 answers
  1. bernhard schneider
    bernhard schneider avatar
    7 posts
    Member since:
    Jul 2012

    Posted 27 Aug 2013 Link to this post

    Hello,

    how can I change the close button in a RadTooltip

    RenderMode   = lightweight

    Best Regards
    Bernhard

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 28 Aug 2013 Link to this post

    Hi Bernhard,

    You can examine the rendered HTML and find that the CSS class the button has is rtClose in lightweight rendermode. It is an element of type button. This can let you build selectors strong enough to override the default settings.


    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. bernhard schneider
    bernhard schneider avatar
    7 posts
    Member since:
    Jul 2012

    Posted 28 Aug 2013 Link to this post


    Hi Marin,
    thanks a lot, this did the trick:

    .RadToolTip .rtClose , .RadToolTip .rtClose:hover

    {

    position: absolute;

    top: -18px;

    right: -16px;

    background-image: url(../App_Images/IcoMisc/fancyboxClose.png);

    background-position: 0 0;

    width: 30px;

    height: 30px;

    }

    Best regards
    Bernhard

Back to Top