protected void TreeDpt_NodeCommand(object sender, FineUIPro.TreeCommandEventArgs e)
        {
            if (TreeDpt.SelectedNodeID == "10000")
            {
                return;
            }

            PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(e.Node.NodeID, e.Node.Text) + ActiveWindow.GetHideReference());
        }
 protected void TreeDpt_NodeCommand(object sender, FineUIPro.TreeCommandEventArgs e)
 {
     if (!string.IsNullOrEmpty(Request.QueryString["dptId"]))
     {
         string            dptId = Request.QueryString["dptId"];
         Model.tDepartMent m     = BLL.GetModel(Convert.ToInt32(dptId));
         if (e.NodeID == m.dptId.ToString())
         {
             return;
         }
     }
     PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(e.Node.NodeID, e.Node.Text) + ActiveWindow.GetHideReference());
 }
Beispiel #3
0
 protected void TreeDic_NodeCommand(object sender, FineUIPro.TreeCommandEventArgs e)
 {
     InitFrom(e.Node.NodeID);
 }