473,385 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Block tooltips in Treeview's checkboxes

Hello,
I am using the new TreeView in ASP.Net 2.0. I am using its PopulateOnDemand
feature.

The problem is that the treeviews +/- images, and any checkboxes, have the
tooltip set. If the node contains HTML, then the tooltip shows the raw HTML,
which is unacceptable to users.

Is there any way to block the tooltips from displaying this HTML?

I can block the +/- images using the treeviews CollapseImageToolTip and
ExpandImageToolTip, but I cannot figure out how to block the tooltips in the
checkboxes. I'm trying to use JavaScript - but due to the PopulateOnDemand's
AJAX-like nature, I can't get it to both (1) trigger after expanding a node,
and (2) access the DOM

Any ideas would be appreciated.

Thanks,
Mark
Jan 13 '06 #1
1 3297
You can define a JavaScript function for doucment.onload event to search for
all checkboxes within the treeview (search for an object with an id equals
the treeview's clientID ) and manipulate the <input> objects attributes.
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Mark" wrote:
Hello,
I am using the new TreeView in ASP.Net 2.0. I am using its PopulateOnDemand
feature.

The problem is that the treeviews +/- images, and any checkboxes, have the
tooltip set. If the node contains HTML, then the tooltip shows the raw HTML,
which is unacceptable to users.

Is there any way to block the tooltips from displaying this HTML?

I can block the +/- images using the treeviews CollapseImageToolTip and
ExpandImageToolTip, but I cannot figure out how to block the tooltips in the
checkboxes. I'm trying to use JavaScript - but due to the PopulateOnDemand's
AJAX-like nature, I can't get it to both (1) trigger after expanding a node,
and (2) access the DOM

Any ideas would be appreciated.

Thanks,
Mark

Jan 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael A. Covington | last post by:
Can somebody point me to an example of how to put checkboxes on a treeview? I want to set up something that is very much like the way tape backup programs let you select a set of files and/or...
1
by: Trevor | last post by:
How can I recursively loop through _every_ TreeNode in a TreeView using C#? The CheckBoxes property enables checkboxes for all TreeNodes. I only want checkboxes on TreeNodes that have 0 child...
1
by: nicholas | last post by:
I am using Obout TreeView: www.obout.com I would like to implement a page to add and remove categories to a product with the Obout Treeview with checkboxes. Does anyone allready did this and...
4
by: Jeff Beem | last post by:
I have a class that inherits from TreeView. The treeview has tooltips for the nodes but they're showing up behind the form. Has anyone seen this? Are there any known fixes? Thanks in advance,...
0
by: pagates | last post by:
Hello All, I'm having a problem in a UserControl with ToolTips on a TreeView. They are showing up behind the user control and parent container (in this case, a Windows Form). I've attempted...
1
by: Victor Rodriguez | last post by:
Is there a way that I can have a client side event like oncontextmenu="showfunction();" on each node? thanks, Victor
1
by: japi | last post by:
Hi all, I have a TreeView control in my ASP.NET 2.0 Web application with checkboxes enabled. I would like to generate a postback when a user ticks or unticks a checkbox. As far as i know,...
0
by: Wudi008 | last post by:
Hi, I am using C#, I have a treeView in my windows.form , I want to give checkboxes for some nodes in the treeView but not all of them. If i do treeView.checkbox = true, all the nodes would have...
1
by: =?Utf-8?B?VHJlY2l1cw==?= | last post by:
Hello, Newsgroupians: A quick question regarding checkboxes and a treeview. I have a treeview that has the property CheckBoxes. However, I'm also trying to handle the event NodeMouseClick. I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.