protected void treeArea_NodeCommand(object sender, ExtAspNet.TreeCommandEventArgs e) { if (e.Node.Nodes.Count > 0) { return; } ViewState["area_id"] = e.NodeID; txtArea.Text = e.Node.Text; }
protected void tree_Main_NodeCommand(object sender, ExtAspNet.TreeCommandEventArgs e) { string selectedId = tree_Main.SelectedNodeID; if (!String.IsNullOrEmpty(selectedId)) { ExeBindDataUser(QueryUserByDeptID(selectedId)); } else { Alert.ShowInTop("请选择节点!", MessageBoxIcon.Warning); } }
protected void tree_Main_NodeCommand(object sender, ExtAspNet.TreeCommandEventArgs e) { string selectedId = tree_Main.SelectedNodeID; if (!String.IsNullOrEmpty(selectedId)) { Session["ColumnId"] = selectedId; dataInputArgs.ColumnID = selectedId; OnQueryDataByColumnId(null, dataInputArgs); } else { Alert.ShowInTop("请选择节点!", MessageBoxIcon.Warning); } }
protected virtual void OnNodeCommand(TreeCommandEventArgs e) { EventHandler<TreeCommandEventArgs> handler = Events[_nodeCommandHandlerKey] as EventHandler<TreeCommandEventArgs>; if (handler != null) { handler(this, e); } }
protected void tree_Main_NodeCommand(object sender, ExtAspNet.TreeCommandEventArgs e) { RefreshCheckTitle(); }