html formatted tooltips

6 posts, 0 answers
  1. erwin
    erwin avatar
    398 posts
    Member since:
    Dec 2006

    Posted 28 Jun 2018 Link to this post

    Would be cool if tooltips within the winforms suite would support the same html like formatting as radLabel.

    Regards

    Erwin

  2. Dimitar
    Admin
    Dimitar avatar
    2818 posts

    Posted 28 Jun 2018 Link to this post

    Hello Erwin,

    This is possible when using ScreenTips which are available for all controls: Screen Tips

    Our ToolTips are mostly like the standard ones and such functionality can be achieved only with custom painting.

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. erwin
    erwin avatar
    398 posts
    Member since:
    Dec 2006

    Posted 28 Jun 2018 in reply to Dimitar Link to this post

    The proposal is that Tooltips would use the Telerik Presentation Framework TextPrimitive for ToolTips out of the Box, so that I do not have to implement all the plumbing required for ScreenTips on my side. 

    Regards

    Erwin

  4. Dimitar
    Admin
    Dimitar avatar
    2818 posts

    Posted 29 Jun 2018 Link to this post

    Hi Erwin,

    I am afraid that our current implementation does not allow this, such functionality will require rewriting the entire Tooltips functionality (currently they extend the standard ones). And most likely this will be a breaking change for you and a big part of our customers (you will still need to make changes if we recreate the tooltips). We will have your feedback in mind but at this point, we cannot engage with this feature implementation. 

    Thank you for your understanding.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. JeffSM
    JeffSM avatar
    42 posts
    Member since:
    May 2014

    Posted 13 Nov in reply to erwin Link to this post

    That's greate. I was looking out for this today. I had a tooltip htmll in Visual Basic 6.0, maybe telerik should do a RadTooltipHtml control. Why not Dimitar?
  6. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3451 posts

    Posted 14 Nov Link to this post

    Hello, Jeff, 

    Note that RadToolTip is a derivative of the standard MS ToolTip. Hence, its rendering does not support our html-like rendering. If you need to display html text, the suitable approach is to use our screen-tips as discussed before. They represent a more advanced version of tool-tips that offer easier customization and html-like text formatting: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/tooltips-and-screentips/screen-tips

            RadOffice2007ScreenTipElement screenTip;
    
            private void radButton1_ScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)
            {
                if (screenTip == null)
                {
                    screenTip = new Telerik.WinControls.UI.RadOffice2007ScreenTipElement();
                }
      
                screenTip.CaptionLabel.Text = "<html><color=red>Hello";
                screenTip.MainTextLabel.Text = "<html>Once <b> upon </b> a time";
                this.radButton1.ButtonElement.ScreenTip = screenTip; 
            }
    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top