Tooltips on FlowLayoutPanels allow html tags and Labels and UserControls do not

0
0

Hi,

Attached a sample of , I believe, a bug.

 

I want to use generic html for decorating tooltips but by accident I discovered you can use HTML tags in Tooltips on FlowLayoutPanels but not on ,for example, labels or UserControls.

S001.png shows the tooltip on the FlowLayoutPanel

S002.png shows the same tooltiptext but on a UserControl

 

Thanks!

 

Vincent

 

  • You must to post comments
0
0

Thanks Vincent.

We started to remove the Html from TooltipText exactly for the reasons you pointed out in your additional comment.
It appears it was not completely removed though.
This issue is fixed and currently in QA. We´ll include it in the next build and I notify you when it´s available.

Best regards
Frank

  • vincent_
    Thanks! But now I lose the S001.png ability which looked awesome haha.. Perhaps some html can be allowed in the future :)
  • Frank (ITG)
    Vincent, these changes only affect the TooltipText property. You can still use the Tooltip extender that allows for extended formatting. Best regards, Frank
  • You must to post comments
0
0

Afters some additional testing it seems the tooltip on the flowlayoutpanel should not be allowed to display html the way it does now… I can put in anything and the browser will show/do it. This is a problem as it is not sanitized.

For example: you can add “<form id=”test”></form><button form=”test” formaction=”javascript:alert(Foobar)”>X</button>” and it will do it. This can cause problems.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.