Exemple #1
0
 protected void treePower_NodeCheck(object sender, ExtAspNet.TreeCheckEventArgs e)
 {
     if (e.Checked)
     {
         treePower.CheckAllNodes(e.Node.Nodes);
         return;
     }
     treePower.UncheckAllNodes(e.Node.Nodes);
 }
Exemple #2
0
 protected virtual void OnNodeCheck(TreeCheckEventArgs e)
 {
     EventHandler<TreeCheckEventArgs> handler = Events[_nodeCheckHandlerKey] as EventHandler<TreeCheckEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }