tooltip delay

10 posts, 1 answers
  1. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 24 Oct 2012 Link to this post

    Is there a way to make the tooltip  stay until the user moves the mouse out. At present the tooltip vanishes in a couple of seconds.
    Thanks
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 26 Oct 2012 Link to this post

    Hello,

    The default behavior of the ItemToolTip is to never hide, it only goes away when the mouse is not over the visual any more (this is the bar if you are using bar series). You can check our examples online - here and here. In both of these examples the ToolTip stays visible forever and there is no special code for this. So make sure that you get the same behavior from the provided links and make sure you have no settings in your app that interfere with the tool tip. Let us know how it goes.

    Regards,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 26 Oct 2012 Link to this post

    I am not getting a similar behavior. I am using TooltipService.
    <Image Source="/Resources/icon-help.png" Margin="10,0,0,0" Cursor="Hand" ToolTipService.ToolTip="Some text." />                              
    The tooltip goes away after a few seconds.
  5. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 31 Oct 2012 Link to this post

    Any help on this one?
  6. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 01 Nov 2012 Link to this post

    Hi Scorp,

    From the code snippet you have provided I can see that you are not using a RadChart. You are not using any of the Telerik controls. You are using the ToolTipService, which is not a Telerik control. I suggest you read about it online, you can start here.

    Let us know if you have any questions related to the Telerik controls.

    All the best,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 01 Nov 2012 Link to this post

    Sorry about that I have the following code snippet that uses the Rad Controls.

     <Style x:Key="chartTitle" TargetType="telerik:AxisTitle">
                <Setter Property="ToolTipService.ToolTip" Value="Some text." />
    </Style>
    I am currently using telerik controls 2011.1.419.1040 version. Would I need the latest controls to use RadTooltipService.

  8. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 05 Nov 2012 Link to this post

    Hi scorp,

    Yes, the RadToolTipService is not present in the assembly in mind. You can download the latest version of our controls which contain the RadToolTipService.

    May be you need code similar to this:

    <Style x:Key="chartTitle" TargetType="telerik:AxisTitle">
     <Setter Property="ToolTipService.ToolTip" Value="Some text." />
     <Setter Property="ToolTipService.ShowDuration" Value="2000000"/>
    </Style>

    I will again suggest you check for solutions online, such as here and here and many other sites which you can find with google

    Kind regards,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  9. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 05 Nov 2012 Link to this post

    It seems that ToolTipService.ShowDuration is not supported in Silverlight framework.
    I upgraded to the latest version of RadControls for silverlight however I am having trouble displaying the tooltip.
    Is there any test project with a  simple example to display the telerik tooltip.
    Thanks.



  10. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 06 Nov 2012 Link to this post

    Hi,

    I apologize, I missed the fact that the ToolTip in Silverlight is somewhat limited. You can use the Telerik RadToolTipService:
    <Border telerik:RadToolTipService.ToolTipContent="Tool tip text"
     telerik:RadToolTipService.ShowDuration="100000" />

    I have attached a simple app to demonstrate this.

    Greetings,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  11. scorp
    scorp avatar
    59 posts
    Member since:
    Dec 2010

    Posted 09 Nov 2012 Link to this post

    Thanks for your help.
Back to Top
DevCraft banner