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

html formatted tooltips

5 Answers 274 Views
New Product Suggestions
This is a migrated thread and some comments may be shown as answers.
erwin
Top achievements
Rank 1
Veteran
Iron
erwin asked on 28 Jun 2018, 11:11 AM

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

Regards

Erwin

5 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 28 Jun 2018, 12:27 PM
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.
0
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 28 Jun 2018, 01:03 PM

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

0
Dimitar
Telerik team
answered on 29 Jun 2018, 09:26 AM
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.
0
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 13 Nov 2019, 09:32 PM
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?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Nov 2019, 12:08 PM

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.
Tags
New Product Suggestions
Asked by
erwin
Top achievements
Rank 1
Veteran
Iron
Answers by
Dimitar
Telerik team
erwin
Top achievements
Rank 1
Veteran
Iron
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or