p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Basics (http://p2p.wrox.com/forumdisplay.php?f=136)
-   -   Tree Tool Tip (http://p2p.wrox.com/showthread.php?t=59802)

lathika July 5th, 2007 08:29 AM

Tree Tool Tip
 
Hi,

I am working with .net 2.0 and I am using tree view control.I am binding the tree view with the database now I have to show the tool tip on the mouser over of the tree node.
is there any solutions????

Thanks


.NET Ptgrammer

mike_remember July 5th, 2007 08:44 AM

Well, that will depend upon your approach how you wish to display the tooltip, an e.g. that you can use is as below:

 foreach (TreeNode tNode in trv.Nodes)
            {
                tNode.ToolTip = "Some ToopTip";
            }

If you wish, let us know in detail exactly how you are binding your treeview, how and what text you wish to display in the toolip so that we can assist you accordingly.

Regards
Mike

Don't expect too much, too soon.

lathika July 5th, 2007 09:21 AM

Hi Mike

Thanks for the reply.I want to display customised tool tip on the mouseover of the node.The tree is binded in the page load event or if anything is save to the database then also the tree refreshes with the saved value n one more node(the saved one) will be added to the tree.I also want to know on which event i have to write.I am using VB language for .net.
"I want to display tool tip on the mouse over of the node."

Response would be greatly appreciated

Thanks!!!!



.NET Ptgrammer

mike_remember July 5th, 2007 09:58 AM

Well again let me ask you here, what is the data that you wish to display as tooltip, is it a static data, or anything from the database, coz then the approach would be different.

Regards
Mike

Don't expect too much, too soon.

lathika July 5th, 2007 10:14 AM

Hi Mike

The tree gets value from database but after binding wen i mouse over any node of the tree i need the tool tip with the value of the particular node (at this point its not dynamic i think.)I am just want to get the value of node in the tool tip ..
but will .net supports event like mouse over? or is there any other way to handle it?
Thanks!!!


.NET Ptgrammer


All times are GMT -4. The time now is 04:58 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.