Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 5th, 2007, 08:29 AM
Authorized User
 
Join Date: Jul 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
__________________
.NET Programmer
 
Old July 5th, 2007, 08:44 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
 
Old July 5th, 2007, 09:21 AM
Authorized User
 
Join Date: Jul 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
 
Old July 5th, 2007, 09:58 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
 
Old July 5th, 2007, 10:14 AM
Authorized User
 
Join Date: Jul 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
tool tip in xsl vighna XSLT 2 August 31st, 2007 03:58 PM
Tree tool tip probs lathika ASP.NET 2.0 Professional 0 July 6th, 2007 01:11 PM
Tool Tip MunishBhatia ASP.NET 2.0 Professional 2 May 11th, 2007 05:39 PM
Tool tip in PropertyGrid somannacg .NET Framework 1.x 3 August 4th, 2006 07:29 AM
Tool tip in PropertyGrid somannacg C# 0 July 6th, 2006 03:44 AM





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