[英]Is it possible to set a fixed position for Web Controller Tooltip in ASP.Net?
I am having an ImageButton
with Tooltip
as shown below, 我有一个带
Tooltip
的ImageButton
,如下所示,
<asp:ImageButton ID="btnDEmail" ImageUrl="~/Images/email.png"
runat="server" Height="100px" ToolTip="Email"
BorderColor="Black" BorderStyle="Solid" BorderWidth="1px"
OnClick="Email_Click" />
When I try to hover on the ImageButton
the tooltip shows on random places near the pointer. 当我尝试将鼠标悬停在
ImageButton
,工具提示会显示在指针附近的随机位置。 Is it possible to display the tooltip
on the right side of button or in any place other than popping on the image button? 是否可以在按钮的右侧或除弹出图像按钮以外的任何位置显示
tooltip
?
No, its not. 不,这不对。 The Tooltip property, turns actually into the
title
property of the <img>
element. Tooltip属性实际上变成了
<img>
元素的title
属性。 The title property's show event is handled by the browser, not subject to manipulation. title属性的show事件由浏览器处理,无需进行操作。
You would have to build (or find) a custom tooltip for your element. 您将必须为您的元素构建(或找到)自定义工具提示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.