Solved it myself by thinking about it in a different light: I now generate the links to the pages in RenderPreText, and I add a TreeNodeSelectAction .Select to each custom TreeNode -- I also set the ImageUrl of the TreeNode and when a user clicks on that, I can access the event and do what I need to...
Posted to
Custom Server Controls
(Forum)
by
BCdotNET
on
10-17-2006, 12:00 AM
Filed under: OnSelectedNodeChanged, RenderBeginTag, SelectAction, SelectedNode, TreeNode, TreeNodeSelectAction, TreeView, ImageToolTip, ImageUrl, AddAttribute, CreateNode, RenderPreText, RenderEndTag, SaveViewState, HtmlTextWriter, LoadViewState