No Skins in tooltip

5 posts, 0 answers
  1. David Bows
    David Bows avatar
    50 posts
    Member since:
    Dec 2005

    Posted 20 Aug 2007 Link to this post

    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
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 21 Aug 2007 Link to this post

    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
  3. David Bows
    David Bows avatar
    50 posts
    Member since:
    Dec 2005

    Posted 21 Aug 2007 Link to this post

    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
  4. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 22 Aug 2007 Link to this post

    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
  5. David Bows
    David Bows avatar
    50 posts
    Member since:
    Dec 2005

    Posted 22 Aug 2007 Link to this post

    Thanks I will try that out.

    David
Back to Top