从 RadListView 中 OnItemDragStarted 隐藏页面上的所有 RadToolTips
我在页面上的 2 个 RadListView
内有许多 RadToolTips
。
当我将一个元素从一个 RadListView
拖动到另一个 RadListView
时,RadToolTip
在鼠标悬停时不断显示(如悬停时的预期)。
当RadListView
的OnItemDragStarted
客户端事件时,如何在JavaScript中禁用页面上的所有RadToolTips
。因此,仅当我将元素从一个 RadListView
拖动到另一个时,才会阻止 RadToolTips
在悬停时显示。
任何帮助将不胜感激。
I have a number of RadToolTips
within 2 RadListView
s on a page.
When I drag one element from one RadListView
to the other RadListView
the RadToolTip
s keep showing up on mouse hover (as expected on hover).
How can I in JavaScript disable all the RadToolTips
on the page when OnItemDragStarted
client event for RadListView
. Thus stopping the RadToolTips
from showing up upon hover only when I'm dragging an element from one RadListView
to another.
Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的页面上有 RadToolTip 和几个列表视图,您可以尝试使用全局 js 变量,以及 onDrag 和 onDrop 设置来切换该变量。您的 RadToolTip 可以在 beforeShow 上使用该变量来决定是否应该显示工具提示。.为您写了一个小示例(不完整)
If you've got a RadToolTip on your page, and a couple of list views you could try using a global js variable, and the onDrag and onDrop settings to toggle that variable. Your RadToolTip could use that variable on the beforeShow to decide if it should show a tool tip or not.. wrote up a small sample for you (not complete)