Treeview control bottom node behavior

U

user

I have an asp.net treeview Im populating from an Oracle database. When
I click down to the bottom node, it still has a "+" next to it. Should
this be happening, and if so can I programatically turn it off?
Thanks, Mark
 
S

S. Justin Gengo

Mark,

I think the "easiest" way to do this would be to create a transparent .gif
the same size as the regular + - sign images and switch to the transparent
..gif on the node in question.

Here is a link that should help:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview.expandimageurl.aspx

I've never tried this so I'm not 100% positive that you can do this on the
node in question. But the article makes it sound like you should be able to.
You may have to do so programmatically within the tree view's ItemDataBound
event.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top