|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Block tooltips in Treeview's checkboxesI 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 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. Show quoteHide quote "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
Other interesting topics
Maintaining ASP.NET Sites
Only allow enter key in MultiLine textbox Deriving from MembershipUser and ASPNET Config Tool Class based on singleton pattern and instance methods in that clas RollOver and onMouseOver? High memory in a ASP.NET application - how to monitor, what can cause? Strong typing for user controls delegation question question re: date format in RSS news feeds How use newest userid in auto INSERT (2.0) |
|||||||||||||||||||||||