如何仅在ASP.NET中的treeview节点的复选框中添加工具提示 [英] How to add a tooltip only at checkbox of a treeview's node in ASP.NET

查看:80
本文介绍了如何仅在ASP.NET中的treeview节点的复选框中添加工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在实施treeview控件,我需要知道是否可以向treenode复选框添加工具提示,还需要知道如果你可以改变节点图例右边的复选框的位置。

我感谢任何帮助。

感谢avanced,



Daniel。

Hi all,

Hi, I'm implementing the treeview control and I need to know if I can just add a tooltip to treenode checkbox, also need know if you can change the position of the checkbox to the right of the legend of the node.
I appreciate any help.
Thanks in avanced,

Daniel.

推荐答案

回答你的问题...

1.是的,你可以添加treenode中的工具提示(仅限于您的复选框)。

2.是的,您可以更改复选框图例的位置。
Answering your question...
1. Yes, you can add a tooltip inside treenode (only to your checkbox).
2. Yes, you can change the position of the checkbox legend.


感谢您的帖子,Christian 。

我的问题是我怎么做,我尝试了以下技巧:



Thanks for the post, Christian.
my question is how I do, I tried the following trick:

treenodeMovil.Text = "<acronym Title='Seleccione casilla para Actualizar'>" + fila1["patente"].ToString() + "</acronym>" +"<img src='/imagenes/verde.png' alt='' style='order-width:0;' title='Disponible'>";





但是有了这个选项,会发生三件事:

1.复选框应该出现在图像的位置,图像出现在复选框中。

如何更改图像的位置和复选框?



2.我没有使用ImageUrl treenode属性。



3.当我在节点文本上显示mause并理想地显示复选框上的工具提示时,会出现工具提示。





如何解决?



but with this option,three things happen:
1. checkbox should appear in the position of the image and the image in the checkbox.
how do I change the positions of the image and the checkbox?.

2. I am not using ImageUrl treenode property .

3. Tooltip appears when I have the mause on the node text and ideally show the tooltip on checkbox.


how I can solve it?


这篇关于如何仅在ASP.NET中的treeview节点的复选框中添加工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆