예제 #1
0
 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;
 }
예제 #2
0
        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);
            }
        }
예제 #3
0
        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);
            }
        }
예제 #4
0
파일: Tree.cs 프로젝트: g992com/esb
 protected virtual void OnNodeCommand(TreeCommandEventArgs e)
 {
     EventHandler<TreeCommandEventArgs> handler = Events[_nodeCommandHandlerKey] as EventHandler<TreeCommandEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }
예제 #5
0
 protected void tree_Main_NodeCommand(object sender, ExtAspNet.TreeCommandEventArgs e)
 {
     RefreshCheckTitle();
 }