SelectedImageUrl is not a member of TreeNode - Conversion Problem

STEVESKI07

Member
Joined
Sep 12, 2007
Messages
17
Programming Experience
1-3
I'm converting a web site from 1.1 to 2.0 and I cannot find the solution to this anywhere. Here is my code:

sectionNode.ImageUrl = "..\images\treeview\folder.gif"
sectionNode.SelectedImageUrl = "..\images\treeview\folderopen.gif"

The ImageUrl property still works in 2.0, but the SelectedImageUrl property doesn't. Does anybody know what the new replacement for this is?
 
.Net Framework 1.1 didn't have a TreeView control, but there existed third-party controls, perhaps you used the IE Web Controls suite from MS? I don't know this, and I also don't think MS has upgraded it since a Treeview control was added to the .Net 2.0 library. AFAIK only winforms TreeNode have a SelectedImageUrl property.
 
Back
Top