Browse by Tags

Related Posts

  • Re: Expand/Collapse TreeView bound to Web Directory

    Actually, I'm not binding to a sitemap, so this won't work. However, I DID figure out how to do this. All that is necessary is to add a line of code to set the "SelectAction" value of each node as it's created in the PopulateTree Sub and AddNodeAndDescendants Function as follows...
    Posted to Master Pages, Themes and Navigation Controls (Forum) by hurdra on 11-14-2007, 12:00 AM
    Filed under: SelectAction, treeview, Tree View, .NET 2.0
  • Re: Custom TreeNode: how to implement postback?

    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
Page 1 of 1 (2 items)