开发者

Multiline tooltip in asp.net [closed]

开发者 https://www.devze.com 2023-01-29 06:41 出处:网络
It's difficult to tell what is being asked here. Th开发者_开发技巧is question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. Th开发者_开发技巧is question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how to display Multiline tooltip in asp.net.


in c#:

control.ToolTip="First Line\nSecond Line";

in vb.net:

control.ToolTip="First Line"+vbCrLf+"Second Line"


I would go with Tipsy: http://plugins.jquery.com/project/tipsy

Demo at: http://onehackoranother.com/projects/jquery/tipsy/


I've used qTip (along with jQuery) with great success. I'd start there if you want multi-line tooltips or tooltips that contain images or any other HTML.

0

精彩评论

暂无评论...
验证码 换一张
取 消