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

No Skins in tooltip

4 Answers 100 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
David Bows
Top achievements
Rank 1
David Bows asked on 20 Aug 2007, 08:38 PM
Hello,

I am using Intput 2.0.2 and ToolTip 626.

The skins for the input are not working on a tooltip.  I have a simple user control with an Rad Text Box in it that I am dynamically loading into a took tip and I have set the Skin="Telerik" for the text box.  It looks fine in the designer but it is not showing when I run my app.  Any thoughts?

Thanks,

David

4 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 21 Aug 2007, 11:12 AM
Hi David Bows,
This problem is actually caused by MS AJAX, on top of which all Prometheus controls are built. The MS AJAX engine is not so advanced as to register <link> CSS tags coming from an AJAX request.
Thus, the Input skin is simply not registered and lost.
To overcome the problem (for which there is not another solution) you should manually add a reference to the Input skin to the <head> of the page, e.g.:

<link rel="stylesheet" type="text/css" href="RadControls/Input/Skins/Telerik/Input.css"></link>

Regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Bows
Top achievements
Rank 1
answered on 21 Aug 2007, 05:46 PM
Ok that seemed to work for the input.  What about a Slider in a tool tip.  I have not been able to get this to fully work. 

David
0
Tsvetie
Telerik team
answered on 22 Aug 2007, 12:08 PM
Hi David Bows,
I prepared a simple project to demonstrate how you can get the desired behavior - please find it attached. The basic idea is to call Redraw method of the Slider, once you add the user control to the tooltip.

Kind regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Bows
Top achievements
Rank 1
answered on 22 Aug 2007, 05:07 PM
Thanks I will try that out.

David
Tags
ToolTip
Asked by
David Bows
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
David Bows
Top achievements
Rank 1
Share this question
or