将 RadToolTip 与 RadComboBox 结合使用,而不使用 ItemTempalte

发布于 2024-08-02 07:07:44 字数 278 浏览 4 评论 0原文

有没有一种方法可以将 RadToolTip 连接到 RadComboBox 中的每个项目(为组合框中的每个项目提供不同的工具提示),而不必使用 RadComboBox 的 ItemTemplate?原因是因为我喜欢组合框样式等的内置实现,并且不想在 ItemTemplate 中从头开始编写它们。当我将鼠标悬停在组合框中的某个项目上时,我试图显示一个工具提示,该提示显示有关该项目的更多信息。基本上在用户做出选择之前向他们提供更多信息。

更新:我需要工具提示来支持 HTML 甚至 RadGrid。它不仅仅是一个文本工具提示。

Is there a way to connect a RadToolTip to each item within a RadComboBox (having a different tool tip come up for each item in the combo box) without having to use the ItemTemplate of the RadComboBox? The reason is because I like the built-in implementation of the combo box styles, etc. and don't want to write it all from scratch within the ItemTemplate. I am trying to have a tool tip come up when I am hovering over an item in my combo box which shows some more information about that item. Basically giving the user a little more information before making their selection.

Updated: I need the tool tip to support HTML or even a RadGrid. It cannot just be a text tool tip.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

抠脚大汉 2024-08-09 07:07:44

我非常确定,如果不使用项目模板,就无法将 RadToolTip 添加到项目中。使用项目模板复制样式太困难怎么办?

I'm pretty sure that there is no way to add a RadToolTip to the items without using the Item Template. What about the styling would be too difficult to replicate using the Item Template?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文