This is a migrated thread and some comments may be shown as answers.

Multiline tooltip for tree nodes

1 Answer 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jaimin
Top achievements
Rank 1
Jaimin asked on 28 Aug 2008, 07:36 AM
Hi,

I want to have a multiline tooltip for every node in the tree so how can I do so?

For example:
Node Text is Weather for XYZ city

so on hover of the node I want to display the following text in multiline:
Min Temp: 20 C
Max Temp: 30 C

Thanks and Regards,
Jaimin

1 Answer, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 01 Sep 2008, 11:48 AM
Hi Jaimin,

You can set it:
  • Inline:
<telerik:RadTreeNode Text="London" ToolTip="Min Temp: 20 C &#10; Max Temp: 30 C"
</telerik:RadTreeNode> 

  • Code behind:
RadTreeView2.Nodes[1].ToolTip = "Min Temp: 20 C \n Max Temp: 30 C"

Note that these methods do not work well on all browsers.

Best wishes,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Jaimin
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or