CheckChanged 当复选框被选择或者清除选择时的所触发的事件 SelectedNodeChanged 当选择的节点发生改变时所触发的事件 TreeNodeCollapsed 当分支被折叠时所触发的事件 TreeNodeExpanded 当分支被展开时所触发的事件 TreeNodeDataBound 当节点被绑定到数据源时所触发的事件 TreeNodePopulate* Fired when a PopulateOnDemand node needs content * Only fired on server if EnableClientScript="false"
// Write the title of the current node to a Label control Label1.Text = SiteMap.CurrentNode.Title; // Write the path to the current node to a Label control SiteMapNode node = SiteMap.CurrentNode; StringBuilder builder =new StringBuilder (node.Title); builder.ToString ();