RadButton can't use TooltipService.Tooltip?

4 posts, 0 answers
  1. tungnt185
    tungnt185 avatar
    40 posts
    Member since:
    Aug 2009

    Posted 14 Oct 2009 Link to this post

    Hello Telerik team,
    I'm using RadButton but there's a problem with this control. I can't use TooltipService.Tooltip to show my tooltip as when I use standard button.
    Is there is a control's bug?
    Thanks.

  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 15 Oct 2009 Link to this post

    Hi Taufik,

    Thank you for interest in the RadButton for Silverlight.

    It sounds strange that the tool tip service doesn't work with the RadButton control. In the attached example you can find a sample project. Please give it a try and let us know if your scenario is different and still not works.

    Below is the result of the sample:



    We hope this example will help you.

    Best wishes,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. tungnt185
    tungnt185 avatar
    40 posts
    Member since:
    Aug 2009

    Posted 15 Oct 2009 Link to this post

    Thanks Telerik teams,
    Yes, that's right RadButton've Tooltip but my situation is:  When I want to make a button with an image and a textblock that didn't show Tooltip as with standard button. Here's my code:

                    <telerik:RadButton  Margin="87,0,0,8" HorizontalContentAlignment="Center" Background="Transparent"  BorderThickness="1" Tag="mnuAddNew" Height="28" Width="75" HorizontalAlignment="Left" VerticalAlignment="Bottom" d:LayoutOverrides="Width, Height"
                        <StackPanel Orientation="Horizontal"
                            <Image Width="16" Height="16" Source="Add16.png" 
                                ToolTipService.ToolTip="RadButton"  Margin="2,0,0,0" /> 
                            <TextBlock Text="OK"  Margin="4,0,4,0" ToolTipService.ToolTip="Rad_TextBlock"/> 
                        </StackPanel> 
                    </telerik:RadButton> 
     
                    <Button  Margin="8,0,0,8" HorizontalContentAlignment="Center" Background="Transparent"  BorderThickness="1" Tag="mnuAddNew" Height="28" Width="75" VerticalAlignment="Bottom" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left"  > 
                        <StackPanel Orientation="Horizontal"
                            <Image Width="16" Height="16" Source="Add16.png" 
                                ToolTipService.ToolTip="DefaultButton"  Margin="2,0,0,0" /> 
                            <TextBlock Text="OK"  Margin="4,0,4,0" ToolTipService.ToolTip="TextBlock"/> 
                        </StackPanel> 
                    </Button> 

    What's problem and solution for this?


  5. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 19 Oct 2009 Link to this post

    Hi Taufik,

    Thank you for reporting the issue.

    We confirm that this one is actually a bug in the RadButton's Style.

    According your report we updated your Telerik points.

    Kind regards,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top