This is a migrated thread and some comments may be shown as answers.

Custom Close Button

2 Answers 26 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
michael schneider
Top achievements
Rank 1
michael schneider asked on 27 Aug 2013, 03:55 PM
Hello,

how can I change the close button in a RadTooltip

RenderMode   = lightweight

Best Regards
Bernhard

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Aug 2013, 11:15 AM
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.
0
michael schneider
Top achievements
Rank 1
answered on 28 Aug 2013, 11:46 AM

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

Tags
ToolTip
Asked by
michael schneider
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
michael schneider
Top achievements
Rank 1
Share this question
or